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:
parent
80ed596c56
commit
bdc11c2894
10 changed files with 174 additions and 25 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue