You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
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
|
||||
|
||||
Reference in New Issue
Block a user