Fix usage of rIE and rSC constants
This commit is contained in:
@@ -79,7 +79,7 @@ EnableMobile:
|
||||
call DoubleSpeed
|
||||
xor a
|
||||
ldh [rIF], a
|
||||
ld a, 1 << VBLANK | 1 << LCD_STAT | 1 << TIMER | 1 << SERIAL
|
||||
ld a, IE_DEFAULT
|
||||
ldh [rIE], a
|
||||
xor a
|
||||
ldh [hMapAnims], a
|
||||
@@ -162,7 +162,7 @@ Function1000fa:
|
||||
xor a
|
||||
ldh [rIF], a
|
||||
ldh a, [rIE]
|
||||
and $13
|
||||
and $1f ^ (1 << SERIAL | 1 << TIMER)
|
||||
ldh [rIE], a
|
||||
xor a
|
||||
ldh [hMobileReceive], a
|
||||
|
@@ -469,7 +469,7 @@ BattleTowerRoomMenu_InitRAM:
|
||||
ld a, [hl]
|
||||
ld [wcd7f], a
|
||||
set 1, [hl]
|
||||
ld a, $f
|
||||
ld a, (1 << SERIAL) | (1 << TIMER) | (1 << LCD_STAT) | (1 << VBLANK)
|
||||
ldh [rIE], a
|
||||
ld a, $1
|
||||
ldh [hMobileReceive], a
|
||||
|
Reference in New Issue
Block a user