mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-05 13:10:58 +13:00
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:
parent
46ffe095e6
commit
7931dad49d
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue