Debug Battle doesn't replace attacks with Pound

I've commented out the code relating to this, which allows for us to test move animations better. It also frees up a WRAM slot.
This commit is contained in:
Llinos Evans 2023-04-29 18:51:42 +01:00
parent 46ffe095e6
commit 7931dad49d
4 changed files with 6 additions and 5 deletions

View file

@ -6136,8 +6136,8 @@ GetCurrentMove:
.player
ld de, wPlayerMoveNum
ld a, [wFlags_D733]
bit BIT_TEST_BATTLE, a
ld a, [wTestBattlePlayerSelectedMove]
;bit BIT_TEST_BATTLE, a
;ld a, [wTestBattlePlayerSelectedMove]
jr nz, .selected
ld a, [wPlayerSelectedMove]
.selected

View file

@ -25,8 +25,8 @@ InitBattleVariables:
ld [hli], a
dec b
jr nz, .loop
inc a ; POUND
ld [wTestBattlePlayerSelectedMove], a
;inc a ; POUND
;ld [wTestBattlePlayerSelectedMove], a
ld a, [wCurMap]
cp SAFARI_ZONE_EAST
jr c, .notSafariBattle

View file

@ -92,7 +92,7 @@ TestBattle:
ld [hl], a
; Give the player a
; level 20 Rhyperior.
; level 20 Rhydon.
ld a, RHYPERIOR
ld [wcf91], a
ld a, 20

View file

@ -470,6 +470,7 @@ wEnemySubstituteHP:: db
; The player's selected move during a test battle.
; InitBattleVariables sets it to the move Pound.
; I've made this redundant by removing the checks for the move, so this can be used for anything you want.
wTestBattlePlayerSelectedMove:: db
ds 1