diff options
| author | Adelaide Walter <adelaidekwalter@gmail.com> | 2018-01-08 22:48:58 -0500 |
|---|---|---|
| committer | Adelaide Walter <adelaidekwalter@gmail.com> | 2018-01-08 22:48:58 -0500 |
| commit | 94f32db7bc4a5e4e4d8837d3110d0876146783af (patch) | |
| tree | 835ab1959de804b009433982244b2cd501f3e0fb /engine/battle | |
| parent | d6f20ae74619fa4b3071867016fa7ae7253df98f (diff) | |
Document hardcoded SRAM addresses.
Diffstat (limited to 'engine/battle')
| -rw-r--r-- | engine/battle/checkbattlescene.asm | 2 | ||||
| -rw-r--r-- | engine/battle/core.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/checkbattlescene.asm b/engine/battle/checkbattlescene.asm index 24d06b8c9..a33cc62e3 100644 --- a/engine/battle/checkbattlescene.asm +++ b/engine/battle/checkbattlescene.asm @@ -21,7 +21,7 @@ CheckBattleScene: ; 4ea44 ld a, 4 ; MBC30 bank used by JP Crystal; inaccessible by MBC3 call GetSRAMBank - ld a, [$a60c] + ld a, [$a60c] ; address of MBC30 bank ld c, a call CloseSRAM diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 7649eba84..6d4401946 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -234,7 +234,7 @@ BattleTurn: ; 3c12f MobileFn_3c1bf: mobile ld a, 5 ; MBC30 bank used by JP Crystal; inaccessible by MBC3 call GetSRAMBank - ld hl, $a89b ; s5_a89b + ld hl, $a89b ; address of MBC30 bank inc [hl] jr nz, .finish dec hl |
