Merge pull request #555 from Rangi42/ldh

Use real labels for HRAM instead of constants, and the ldh instruction
This commit is contained in:
Rangi
2018-08-25 22:23:45 -04:00
committed by GitHub
243 changed files with 4768 additions and 4727 deletions

View File

@@ -20,16 +20,16 @@ BattleTowerHallway_MapScripts:
jump .WalkToChosenBattleRoom
.asm_load_battle_room
ld a, [rSVBK]
ldh a, [rSVBK]
push af
ld a, BANK(wBTChoiceOfLvlGroup)
ld [rSVBK], a
ldh [rSVBK], a
ld a, [wBTChoiceOfLvlGroup]
ld [wScriptVar], a
pop af
ld [rSVBK], a
ldh [rSVBK], a
ret
; enter different rooms for different levels to battle against