1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-05 07:24:34 +00:00

[ntsc-1.0/1.1] Match "game engine" files (#2244)

* [ntsc-1.0/1.1] Match "game engine" files

* Use R_START_BTN_X/R_START_BTN_Y

* Comment obvious bugs

* Move Magic_Fill comments

* Move EVENTINF_HORSES_INDEX printf inside #if

* Replace "this function"
This commit is contained in:
cadmic 2024-09-30 12:52:38 -07:00 committed by GitHub
parent 80ed596c56
commit bdc11c2894
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 174 additions and 25 deletions

View file

@ -162,8 +162,13 @@ void Interface_Init(PlayState* play) {
gSaveContext.timerY[timerId] = 46; // one row of hearts
}
}
if ((gSaveContext.timerState >= TIMER_STATE_UP_INIT) && (gSaveContext.timerState <= TIMER_STATE_UP_FREEZE)) {
#if OOT_VERSION < PAL_1_0
else if ((gSaveContext.timerState >= TIMER_STATE_UP_INIT) && (gSaveContext.timerState <= TIMER_STATE_UP_FREEZE))
#else
// No "else"
if ((gSaveContext.timerState >= TIMER_STATE_UP_INIT) && (gSaveContext.timerState <= TIMER_STATE_UP_FREEZE))
#endif
{
gSaveContext.timerState = TIMER_STATE_OFF;
PRINTF(T("タイマー停止!!!!!!!!!!!!!!!!!!!!! = %d\n",
"Timer Stop!!!!!!!!!!!!!!!!!!!!! = %d\n"),
@ -381,6 +386,10 @@ void Regs_InitDataImpl(void) {
ZREG(65) = 21;
ZREG(66) = 122;
#if OOT_VERSION < PAL_1_0
R_START_BTN_X = 132;
R_START_BTN_Y = 17;
#endif
R_ITEM_BTN_X(1) = C_LEFT_BUTTON_X;
R_ITEM_BTN_X(2) = C_DOWN_BUTTON_X;
R_ITEM_BTN_X(3) = C_RIGHT_BUTTON_X;