ref: 56a31151410e09a0169a7ab6dce4542f334c49b7
parent: 8039c8db78bb686a52e91fa76e6d6177b6bbf14a
author: yenatch <[email protected]>
date: Wed Apr 2 08:47:49 EDT 2014
Reference more static banks.
--- a/main.asm
+++ b/main.asm
@@ -8273,7 +8273,7 @@
Func_32fe:: ; 32fe (0:32fe)
ld hl, Func_5685d
asm_3301:: ; 3301 (0:3301)
- ld b, $15
+ ld b, BANK(Func_567f9) ; BANK(Func_56819), BANK(Func_5683d), BANK(Func_5685d)
jp Bankswitch ; indirect jump to one of the four functions
CheckForEngagingTrainers:: ; 3306 (0:3306)
@@ -13287,7 +13287,7 @@
ld a, $1
ld [$d11b], a
ld hl, Func_39bd5
- ld b, $e
+ ld b, BANK(Func_39bd5)
call Bankswitch
ld hl, wEnemyMons
call Func_57d6
@@ -13346,7 +13346,7 @@
ld a, $4
ld [$d11b], a
ld hl, Func_39bd5
- ld b, $e
+ ld b, BANK(Func_39bd5)
call Bankswitch
call Func_57d6
jp .asm_565b
@@ -13441,7 +13441,7 @@
ld a, $4
ld [$d11b], a
ld hl, Func_39bd5
- ld b, $e
+ ld b, BANK(Func_39bd5)
call Bankswitch
call Func_57d6
call LoadScreenTilesFromBuffer1
@@ -56207,11 +56207,13 @@
db "@"
BankswitchEtoF: ; 3bbe1 (e:7be1)
- ld b, $f
+ ld b, BANK(BattleCore)
jp Bankswitch
SECTION "bankF",ROMX,BANK[$F]
+BattleCore:
+
; These are move effects (second value from the Moves table in bank $E).
EffectsArray1: ; 3c000 (f:4000)
db $18,$19,$1C,$2E,$2F,$31,$38,$39,$40,$41,$42,$43,$4F,$52,$54,$55,$FF
@@ -58562,7 +58564,7 @@
call LoadMonFrontSprite
jr .asm_3d187
.asm_3d182
- ld b, $1e
+ ld b, BANK(AnimationSubstitute) ; BANK(AnimationMinimizeMon)
call Bankswitch
.asm_3d187
jp Func_3d0e0