aboutsummaryrefslogtreecommitdiffstats
path: root/engine/debug/debug_party.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/debug/debug_party.asm')
-rw-r--r--engine/debug/debug_party.asm24
1 files changed, 10 insertions, 14 deletions
diff --git a/engine/debug/debug_party.asm b/engine/debug/debug_party.asm
index 36eb8e6f..0c76bde1 100644
--- a/engine/debug/debug_party.asm
+++ b/engine/debug/debug_party.asm
@@ -1,13 +1,5 @@
-; This function is a debugging feature to give the player Tsunekazu Ishihara's
-; favorite Pokemon. This is indicated by the overpowered Exeggutor, which
-; Ishihara (president of Creatures Inc.) said was his favorite Pokemon in an ABC
-; interview on February 8, 2000.
-; "Exeggutor is my favorite. That's because I was always using this character
-; while I was debugging the program."
-; http://www.ign.com/articles/2000/02/09/abc-news-pokamon-chat-transcript
-
-SetIshiharaTeam:
- ld de, IshiharaTeam
+SetDebugNewGameParty: ; unreferenced except in _DEBUG
+ ld de, DebugNewGameParty
.loop
ld a, [de]
cp -1
@@ -20,7 +12,11 @@ SetIshiharaTeam:
call AddPartyMon
jr .loop
-IshiharaTeam:
+DebugNewGameParty: ; unreferenced except in _DEBUG
+ ; Exeggutor is the only debug party member shared with Red, Green, and Japanese Blue.
+ ; "Tsunekazu Ishihara: Exeggutor is my favorite. That's because I was
+ ; always using this character while I was debugging the program."
+ ; From https://web.archive.org/web/20000607152840/http://pocket.ign.com/news/14973.html
db EXEGGUTOR, 90
IF DEF(_DEBUG)
db MEW, 5
@@ -35,13 +31,13 @@ IF DEF(_DEBUG)
ENDC
db -1 ; end
-DebugStart:
+PrepareNewGameDebug: ; dummy except in _DEBUG
IF DEF(_DEBUG)
xor a ; PLAYER_PARTY_DATA
ld [wMonDataLocation], a
; Fly anywhere.
- dec a ; $ff
+ dec a ; $ff (all bits)
ld [wTownVisitedFlag], a
ld [wTownVisitedFlag + 1], a
@@ -49,7 +45,7 @@ IF DEF(_DEBUG)
ld a, ~(1 << BIT_EARTHBADGE)
ld [wObtainedBadges], a
- call SetIshiharaTeam
+ call SetDebugNewGameParty
; Exeggutor gets four HM moves.
ld hl, wPartyMon1Moves