From 9528f45ce268a69a4afe5e9c38e5b029fb9e6e1d Mon Sep 17 00:00:00 2001 From: Llinos Evans <36418502+PlagueVonKarma@users.noreply.github.com> Date: Thu, 6 Jul 2023 16:02:31 +0100 Subject: [PATCH] minor bits and pieces - Tweaked debug team for easier testing of actual trainers - Hopefully(?) fixed nasty plot anim --- constants/hide_show_constants.asm | 2 +- data/moves/animations.asm | 6 +----- data/trainers/rival_parties.asm | 2 +- engine/debug/debug_party.asm | 22 ++++++++++++---------- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/constants/hide_show_constants.asm b/constants/hide_show_constants.asm index 33dc5be8..95f12011 100644 --- a/constants/hide_show_constants.asm +++ b/constants/hide_show_constants.asm @@ -8,7 +8,7 @@ DEF SHOW EQU $15 ; (they are either items or sprites that deactivate after battle ; and are detected in wMissableObjectList) ; However, these constants are still required to synchronise properly -; with the hide/show list, so you can't just remove them. +; Factoring in the hide/show list, so you can't just remove them. const_def const HS_PALLET_TOWN_OAK ; 00 diff --git a/data/moves/animations.asm b/data/moves/animations.asm index 55e457fa..70f30c90 100644 --- a/data/moves/animations.asm +++ b/data/moves/animations.asm @@ -999,6 +999,7 @@ ConstrictAnim: battle_anim CONSTRICT, SUBANIM_0_BIND, 0, 6 db -1 ; end +NastyPlotAnim: AmnesiaAnim: battle_anim AMNESIA, SUBANIM_0_STATUS_CONFUSED, 0, 8 battle_anim AMNESIA, SUBANIM_0_STATUS_CONFUSED, 0, 8 @@ -1208,11 +1209,6 @@ DisarmingVoiceAnim: battle_anim DISARMING_VOICE, SUBANIM_0_HEART_1_MUSIC, 1, 6 db -1 ; end -NastyPlotAnim: - battle_anim AMNESIA, SUBANIM_0_STATUS_CONFUSED, 0, 8 - battle_anim AMNESIA, SUBANIM_0_STATUS_CONFUSED, 0, 8 - db -1 ; end - BallTossAnim: battle_anim NO_MOVE, SUBANIM_0_BALL_TOSS_HIGH, 0, 3 db -1 ; end diff --git a/data/trainers/rival_parties.asm b/data/trainers/rival_parties.asm index e2fc07e9..28fb4395 100644 --- a/data/trainers/rival_parties.asm +++ b/data/trainers/rival_parties.asm @@ -47,7 +47,7 @@ Green3Data: db $FF, 61, MADAAMU, 59, ALAKAZAM, 61, RHYPERIOR, 61, ARCANINE, 63, EXEGGUTOR, 65, TOTARTLE, 0 db $FF, 61, MADAAMU, 59, ALAKAZAM, 61, RHYPERIOR, 61, GYARADOS, 63, ARCANINE, 65, VENUSAUR, 0 db $FF, 61, MADAAMU, 59, ALAKAZAM, 61, RHYPERIOR, 61, EXEGGUTOR, 63, GYARADOS, 65, CHARIZARD, 0 - db $FF, 61, SANDSLASH, 59, ALAKAZAM, 61, EXEGGUTOR, 61, NINETALES_A, 63, MAGNEZONE, 65, UMBREON, 0 + db $FF, 61, SANDSLASH, 59, ALAKAZAM, 61, EXEGGUTOR, 61, NINETALES, 63, MAGNEZONE, 65, UMBREON, 0 db $FF, 61, SANDSLASH, 59, ALAKAZAM, 61, EXEGGUTOR, 61, NINETALES, 63, CLOYSTER, 65, GOROCHU, 0 ; post-game rematch teams (currently unused) ; db $FF, 81, SCIZOR, 79, ALAKAZAM, 81, RHYPERIOR, 81, ARCANINE, 83, ELECTIVIRE, 85, TOTARTLE, 0 diff --git a/engine/debug/debug_party.asm b/engine/debug/debug_party.asm index d4c745d6..b17446a6 100644 --- a/engine/debug/debug_party.asm +++ b/engine/debug/debug_party.asm @@ -25,7 +25,7 @@ IshiharaTeam: db MELTAN, 90 db TRAMPEL, 90 IF DEF(_DEBUG) - db TAUROS_PB, 90 + db MEWTWO, 90 db SNORLAX, 50 ENDC db -1 ; end @@ -93,15 +93,16 @@ IF DEF(_DEBUG) ld a, 15 ld [hl], a - ; Blaze Tauros (Pokemon 4) has a full moveset + ; Mewtwo (Pokemon 4) has a full moveset + ; Use for sweeping the 4. ld hl, wPartyMon4Moves - ld a, FIRE_BLAST + ld a, AMNESIA ld [hli], a - ld a, LOW_KICK + ld a, PSYCHIC_M ld [hli], a - ld a, FIRE_SPIN + ld a, THUNDERBOLT ld [hli], a - ld a, HYPER_BEAM + ld a, RECOVER ld [hl], a ld hl, wPartyMon1PP ld a, 99 @@ -147,10 +148,11 @@ IF DEF(_DEBUG) .items_end ; Complete the Pokédex. - ld hl, wPokedexOwned - call DebugSetPokedexEntries - ld hl, wPokedexSeen - call DebugSetPokedexEntries + ; Comment out (except for the event) to test post-game setup. + ;ld hl, wPokedexOwned + ;call DebugSetPokedexEntries + ;ld hl, wPokedexSeen + ;call DebugSetPokedexEntries SetEvent EVENT_GOT_POKEDEX ; Rival chose Pikachu,