Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to OpenSRAM)

To do: engine/{menus, overworld}
This commit is contained in:
Rangi
2020-06-17 17:03:38 -04:00
parent be93ab33a7
commit cc460a17b0
62 changed files with 395 additions and 395 deletions

View File

@@ -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