summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/battle/battle_transitions.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/battle/battle_transitions.asm b/engine/battle/battle_transitions.asm
index ec95a5d9..8f799867 100644
--- a/engine/battle/battle_transitions.asm
+++ b/engine/battle/battle_transitions.asm
@@ -91,6 +91,12 @@ GetBattleTransitionID_WildOrTrainer:
ret
GetBattleTransitionID_CompareLevels:
+; no error handling to check if you have a Pokemon yet
+; this causes bugs with the transition in the Oak Pikachu catch
+; wPartyMon1HP reads from wRivalName+6
+; this causes the faster transition to be manipulable either by
+; using a default rival name or
+; setting and then deleting 6 characters in a custom Rival name
ld hl, wPartyMon1HP
.faintedLoop
ld a, [hli]