Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to OpenSRAM)
To do: engine/{menus, overworld}
This commit is contained in:
@@ -20,7 +20,7 @@ CheckForLuckyNumberWinners:
|
||||
dec d
|
||||
jr nz, .PartyLoop
|
||||
ld a, BANK(sBox)
|
||||
call GetSRAMBank
|
||||
call OpenSRAM
|
||||
ld a, [sBoxCount]
|
||||
and a
|
||||
jr z, .SkipOpenBox
|
||||
@@ -59,7 +59,7 @@ CheckForLuckyNumberWinners:
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
ld a, [hli]
|
||||
call GetSRAMBank
|
||||
call OpenSRAM
|
||||
ld a, [hli]
|
||||
ld h, [hl]
|
||||
ld l, a ; hl now contains the address of the loaded box in SRAM
|
||||
|
Reference in New Issue
Block a user