Replace hardware_constants.asm with the community-standard hardware.inc 5.0 (#1186)

This commit is contained in:
Rangi
2025-06-23 09:11:33 -04:00
committed by GitHub
parent ae7ee67d21
commit 4c540aa43b
149 changed files with 3444 additions and 3103 deletions

View File

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