mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
6fec0e4dd1
* Added option for generating incrementing pokemon in pc boxes # Conflicts: # src/debug.c * added submenu arrows, increased menu high to full screen # Conflicts: # src/debug.c * combined flags and vars into one submenu # Conflicts: # src/debug.c * added new window to flags/vars showing the current state and added submenu indicator # Conflicts: # src/debug.c * added alligned arrows for debug submenus # Conflicts: # src/debug.c * used {CLEAR_TO X} instead of manual spaces # Conflicts: # src/debug.c * renamed gDebugText to proper sDebugText # Conflicts: # src/debug.c * added Fill submenu, added fill function for PC items and all bag pockets @LOuroboros # Conflicts: # src/debug.c * put cheat start into utility # Conflicts: # src/debug.c * put fill submenu into main menu # Conflicts: # src/debug.c * tiny fix * renaming and reordering # Conflicts: # src/debug.c * Added reset pokedex flags for @AsparagusEduardo * made flag toggle list dynamic # Conflicts: # src/debug.c * initial battle debug menu WIP # Conflicts: # src/debug.c # src/wild_encounter.c * fix visual bug * added battle start # Conflicts: # include/debug.h # src/battle_ai_script_commands.c * Added faster way to add initial movesets to mon * Added waiting music for the slow box filling * Simplified the call to scripts * Simplified debug scripts * Disabled Battle Test for now * Fixed personality on fast PC fill being always 0 * Removed BATTLE_ENGINE instances + added AI_FLAG_COUNT * Added missing return TRUE * Sets nickname * Changed how GetSpeciesName to how it's used upstream --------- Co-authored-by: TheXaman <48356183+TheXaman@users.noreply.github.com>
116 lines
2.9 KiB
PHP
116 lines
2.9 KiB
PHP
.if DEBUG_OVERWORLD_MENU == TRUE
|
|
Debug_MessageEnd:
|
|
waitmessage
|
|
waitbuttonpress
|
|
releaseall
|
|
end
|
|
|
|
Debug_ShowFieldMessageStringVar4::
|
|
special ShowFieldMessageStringVar4
|
|
goto Debug_MessageEnd
|
|
|
|
Debug_CheatStart::
|
|
setflag FLAG_SYS_POKEMON_GET
|
|
setflag FLAG_RESCUED_BIRCH
|
|
setflag FLAG_HIDE_ROUTE_101_BIRCH_ZIGZAGOON_BATTLE
|
|
setflag FLAG_ADVENTURE_STARTED
|
|
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_BIRCH
|
|
setflag FLAG_HIDE_ROUTE_101_BIRCH_STARTERS_BAG
|
|
setvar VAR_BIRCH_LAB_STATE, 2
|
|
setvar VAR_ROUTE101_STATE, 3
|
|
givemon SPECIES_TREECKO, 20, ITEM_NONE
|
|
givemon SPECIES_TORCHIC, 20, ITEM_NONE
|
|
givemon SPECIES_MUDKIP, 20, ITEM_NONE
|
|
setflag FLAG_SYS_POKEDEX_GET
|
|
special SetUnlockedPokedexFlags
|
|
setflag FLAG_RECEIVED_POKEDEX_FROM_BIRCH
|
|
setvar VAR_CABLE_CLUB_TUTORIAL_STATE, 2
|
|
setflag FLAG_SYS_NATIONAL_DEX
|
|
special EnableNationalPokedex
|
|
setflag FLAG_RECEIVED_RUNNING_SHOES
|
|
setflag FLAG_SYS_B_DASH
|
|
setvar VAR_LITTLEROOT_TOWN_STATE, 4 @ 4: Received Running Shoes
|
|
setvar VAR_LITTLEROOT_INTRO_STATE, 7 @ 7: Told to go meet rival
|
|
setvar VAR_LITTLEROOT_HOUSES_STATE_BRENDAN, 2 @ 2: Met Rival's Mom (and is corresponding gender)
|
|
setvar VAR_LITTLEROOT_HOUSES_STATE_MAY, 2 @ 2: Met Rival's Mom (and is corresponding gender)
|
|
setvar VAR_LITTLEROOT_RIVAL_STATE, 4 @ 4: Received Pokedex
|
|
setflag FLAG_RECEIVED_BIKE
|
|
additem ITEM_ACRO_BIKE
|
|
setvar VAR_BRINEY_HOUSE_STATE, 1
|
|
setvar VAR_ROUTE116_STATE, 2
|
|
setflag FLAG_HIDE_ROUTE_116_MR_BRINEY
|
|
clearflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY
|
|
clearflag FLAG_HIDE_BRINEYS_HOUSE_PEEKO
|
|
release
|
|
end
|
|
|
|
Debug_FlagsNotSetOverworldConfigMessage::
|
|
message Debug_FlagsNotSetOverworldConfigMessage_Text
|
|
goto Debug_MessageEnd
|
|
|
|
Debug_FlagsNotSetOverworldConfigMessage_Text:
|
|
.string "Feature unavailable!\n"
|
|
.string "Please define a usable flag in:\l"
|
|
.string "'include/config/overworld.h'!$"
|
|
|
|
Debug_FlagsNotSetBattleConfigMessage::
|
|
message Debug_FlagsNotSetBattleConfigMessage_Text
|
|
goto Debug_MessageEnd
|
|
|
|
Debug_FlagsNotSetBattleConfigMessage_Text:
|
|
.string "Feature unavailable!\n"
|
|
.string "Please define a usable flag in:\l"
|
|
.string "'include/config/battle.h'!$"
|
|
|
|
Debug_BoxFilledMessage::
|
|
message Debug_BoxFilledMessage_Text
|
|
goto Debug_MessageEnd
|
|
|
|
Debug_BoxFilledMessage_Text:
|
|
.string "Storage boxes filled!$"
|
|
|
|
Debug_Script_1::
|
|
end
|
|
|
|
Debug_Script_2::
|
|
end
|
|
|
|
Debug_Script_3::
|
|
end
|
|
|
|
Debug_Script_4::
|
|
end
|
|
|
|
Debug_Script_5::
|
|
end
|
|
|
|
Debug_Script_6::
|
|
end
|
|
|
|
Debug_Script_7::
|
|
end
|
|
|
|
Debug_Script_8::
|
|
end
|
|
|
|
Debug_CheckSaveBlock::
|
|
callnative CheckSaveBlock1Size
|
|
msgbox Debug_SaveBlock1Size, MSGBOX_DEFAULT
|
|
callnative CheckSaveBlock2Size
|
|
msgbox Debug_SaveBlock2Size, MSGBOX_DEFAULT
|
|
callnative CheckPokemonStorageSize
|
|
msgbox Debug_PokemonStorageSize, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
Debug_SaveBlock1Size::
|
|
.string "SaveBlock1 size: {STR_VAR_1}/{STR_VAR_2}.$"
|
|
|
|
Debug_SaveBlock2Size::
|
|
.string "SaveBlock2 size: {STR_VAR_1}/{STR_VAR_2}.$"
|
|
|
|
Debug_PokemonStorageSize::
|
|
.string "{PKMN}Storage size: {STR_VAR_1}/{STR_VAR_2}.$"
|
|
|
|
.endif
|