diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2015-10-19 16:49:29 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2015-10-19 16:49:29 -0400 |
commit | 6c25592b8c43afe9780968da88f9b06cbb526e72 (patch) | |
tree | 30449a14d2a1158ce785f4d92da3ab01c11d0f27 /engine/battle_start.asm | |
parent | 0a244e043c83dff064d7e3ec054a587c7f999d0d (diff) |
So very jumb
Diffstat (limited to 'engine/battle_start.asm')
-rw-r--r-- | engine/battle_start.asm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engine/battle_start.asm b/engine/battle_start.asm index e78bfad3b..430904552 100644 --- a/engine/battle_start.asm +++ b/engine/battle_start.asm @@ -13,7 +13,7 @@ Predef_StartBattle: ; 8c20f ld [hl], $1 .loop - ld a, [wcf63] + ld a, [wJumptableEntryIndexBuffer] bit 7, a jr nz, .done call FlashyTransitionToBattle @@ -72,7 +72,7 @@ Function8c26d: ; 8c26d call DelayFrame xor a ld [hBGMapMode], a - ld hl, wcf63 + ld hl, wJumptableEntryIndexBuffer xor a rept 2 ld [hli], a @@ -146,7 +146,7 @@ INCBIN "gfx/overworld/trainer_battle_pokeball_tiles.2bpp" FlashyTransitionToBattle: ; 8c314 - ld a, [wcf63] + ld a, [wJumptableEntryIndexBuffer] ld e, a ld d, 0 ld hl, .jumptable @@ -230,7 +230,7 @@ StartTrainerBattle_DetermineWhichAnimation: ; 8c365 (23:4365) ld hl, .StartingPoints add hl, de ld a, [hl] - ld [wcf63], a + ld [wJumptableEntryIndexBuffer], a ret ; 8c38f (23:438f) @@ -242,11 +242,11 @@ StartTrainerBattle_DetermineWhichAnimation: ; 8c365 (23:4365) StartTrainerBattle_Finish: ; 8c393 (23:4393) call ClearSprites ld a, $80 - ld [wcf63], a + ld [wJumptableEntryIndexBuffer], a ret StartTrainerBattle_NextScene: ; 8c39c (23:439c) - ld hl, wcf63 + ld hl, wJumptableEntryIndexBuffer inc [hl] ret @@ -331,7 +331,7 @@ StartTrainerBattle_SineWave: ; 8c408 (23:4408) .end ld a, $20 - ld [wcf63], a + ld [wJumptableEntryIndexBuffer], a ret .DoSineWave: ; 8c419 (23:4419) @@ -416,7 +416,7 @@ endr xor a ld [hBGMapMode], a ; $ff00+$d4 ld a, $20 - ld [wcf63], a + ld [wJumptableEntryIndexBuffer], a ret ; 8c490 (23:4490) @@ -540,7 +540,7 @@ StartTrainerBattle_SpeckleToBlack: ; 8c58f (23:458f) xor a ld [hBGMapMode], a ; $ff00+$d4 ld a, $20 - ld [wcf63], a + ld [wJumptableEntryIndexBuffer], a ret .BlackOutRandomTile: ; 8c5b8 (23:45b8) @@ -836,7 +836,7 @@ StartTrainerBattle_ZoomToBlack: ; 8c768 (23:4768) .done ld a, $20 - ld [wcf63], a + ld [wJumptableEntryIndexBuffer], a ret ; 8c792 (23:4792) |