summaryrefslogtreecommitdiff
path: root/engine/battle/check_battle_scene.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-13 18:48:26 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-13 18:48:26 -0400
commit75035a71a544821de0b397cfd5bacad5cf4da8fd (patch)
treea6f0321c5bb59c2e5bae7d26d20fe7c8e4ff4e88 /engine/battle/check_battle_scene.asm
parent0d683ea0c72c3d86736cd08667f14d6abe5964c3 (diff)
Label some mobile addresses, and revise some comments
Diffstat (limited to 'engine/battle/check_battle_scene.asm')
-rw-r--r--engine/battle/check_battle_scene.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/check_battle_scene.asm b/engine/battle/check_battle_scene.asm
index 13d0c665e..ca6b94289 100644
--- a/engine/battle/check_battle_scene.asm
+++ b/engine/battle/check_battle_scene.asm
@@ -19,9 +19,9 @@ CheckBattleScene:
and a
jr nz, .from_wram
- ld a, 4 ; MBC30 bank used by JP Crystal; inaccessible by MBC3
+ ld a, BANK(s4_a60c) ; MBC30 bank used by JP Crystal; inaccessible by MBC3
call GetSRAMBank
- ld a, [$a60c] ; address of MBC30 bank
+ ld a, [s4_a60c]
ld c, a
call CloseSRAM