diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-17 14:32:35 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-17 14:32:35 -0400 |
commit | 42650e1507008d0ad3a710e0b8ec27d8ad97bd26 (patch) | |
tree | 0f912926525a2d4da4c60eeff6a29b21b94ccb09 /src/debug | |
parent | acb87f3f2feb5e87590148fd31c48abb8cfa42d2 (diff) |
document ewram macros in BattleStartClearSetData
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/tomomichi_debug_menu.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/debug/tomomichi_debug_menu.c b/src/debug/tomomichi_debug_menu.c index 64da15dc7..c4ce87f33 100644 --- a/src/debug/tomomichi_debug_menu.c +++ b/src/debug/tomomichi_debug_menu.c @@ -4477,38 +4477,38 @@ static void PrepareDebugOverlayBeforeShowingContestPainting(u8 a0) switch (a0) { case 0: - ewram15DDF = 0; - ewram15DDE = 0; + gBattleStruct->contestWinnerIsForArtist = 0; + gBattleStruct->contestWinnerSaveIdx = 0; contestEntry->contestType = sPicTest_ContestType - 1; StringCopy(contestEntry->trainer_name, sDummyTrainerName); StringCopy(contestEntry->pokemon_name, sDummyNickname); break; case 1: - ewram15DDF = 0; - ewram15DDE = 8; + gBattleStruct->contestWinnerIsForArtist = 0; + gBattleStruct->contestWinnerSaveIdx = 8; contestEntry->contestType = sPicTest_MuseumArtTitleType - 1; StringCopy(contestEntry->pokemon_name, sDummyNickname); break; case 2: - ewram15DDF = 1; - ewram15DDE = 8; + gBattleStruct->contestWinnerIsForArtist = 1; + gBattleStruct->contestWinnerSaveIdx = 8; contestEntry->contestType = sPicTest_PreviewType - 1; break; case 3: - ewram15DDF = 0; - ewram15DDE = 8; + gBattleStruct->contestWinnerIsForArtist = 0; + gBattleStruct->contestWinnerSaveIdx = 8; contestEntry->contestType = 0; StringCopy(contestEntry->pokemon_name, sDummyNickname); break; case 4: - ewram15DDF = 0; - ewram15DDE = 8; + gBattleStruct->contestWinnerIsForArtist = 0; + gBattleStruct->contestWinnerSaveIdx = 8; contestEntry->contestType = 3; StringCopy(contestEntry->pokemon_name, sDummyNickname); break; case 5: - ewram15DDF = 0; - ewram15DDE = 8; + gBattleStruct->contestWinnerIsForArtist = 0; + gBattleStruct->contestWinnerSaveIdx = 8; contestEntry->contestType = 9; StringCopy(contestEntry->pokemon_name, sDummyNickname); break; |