2023-05-24 14:24:44 +02:00
|
|
|
.if DEBUG_OVERWORLD_MENU == TRUE
|
2023-07-18 09:17:03 +02:00
|
|
|
Debug_MessageEnd:
|
Implementation if Pyredrid and AsparagusEduardo debug menu plus huge rewrite and tons of additions
V2: Fly, Warp, Flags, Vars, give items, give pkm 2 versions
Improved cheats, reworked the vars system
vars function now starts at VARS_START and end VARS_END
Figured out how to display FieldMessages, reimplemented CheckSafeBlock, cleanup
DebugAction_DestroyExtraWindow instead of multiple, renamed text variables
cleanup + pokemon simple
give pokemon complex nearly done
Complex pkm works, items now with icons
if statement cleanup
alter build tools to include maps per map group
Warp functionallity
added hex value to flags and vars
cleanup
Credits
2020-09-26 00:51:02 +02:00
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2023-07-18 09:17:03 +02:00
|
|
|
Debug_ShowFieldMessageStringVar4::
|
|
|
|
special ShowFieldMessageStringVar4
|
|
|
|
goto Debug_MessageEnd
|
|
|
|
|
Implementation if Pyredrid and AsparagusEduardo debug menu plus huge rewrite and tons of additions
V2: Fly, Warp, Flags, Vars, give items, give pkm 2 versions
Improved cheats, reworked the vars system
vars function now starts at VARS_START and end VARS_END
Figured out how to display FieldMessages, reimplemented CheckSafeBlock, cleanup
DebugAction_DestroyExtraWindow instead of multiple, renamed text variables
cleanup + pokemon simple
give pokemon complex nearly done
Complex pkm works, items now with icons
if statement cleanup
alter build tools to include maps per map group
Warp functionallity
added hex value to flags and vars
cleanup
Credits
2020-09-26 00:51:02 +02:00
|
|
|
Debug_CheatStart::
|
|
|
|
setflag FLAG_SYS_POKEMON_GET
|
|
|
|
setflag FLAG_RESCUED_BIRCH
|
|
|
|
setflag FLAG_HIDE_ROUTE_101_BIRCH_ZIGZAGOON_BATTLE
|
2022-05-21 12:54:02 +02:00
|
|
|
setflag FLAG_ADVENTURE_STARTED
|
Implementation if Pyredrid and AsparagusEduardo debug menu plus huge rewrite and tons of additions
V2: Fly, Warp, Flags, Vars, give items, give pkm 2 versions
Improved cheats, reworked the vars system
vars function now starts at VARS_START and end VARS_END
Figured out how to display FieldMessages, reimplemented CheckSafeBlock, cleanup
DebugAction_DestroyExtraWindow instead of multiple, renamed text variables
cleanup + pokemon simple
give pokemon complex nearly done
Complex pkm works, items now with icons
if statement cleanup
alter build tools to include maps per map group
Warp functionallity
added hex value to flags and vars
cleanup
Credits
2020-09-26 00:51:02 +02:00
|
|
|
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
|
2023-03-06 09:29:34 +01:00
|
|
|
setvar VAR_CABLE_CLUB_TUTORIAL_STATE, 2
|
2022-09-02 12:10:11 +02:00
|
|
|
setflag FLAG_SYS_NATIONAL_DEX
|
|
|
|
special EnableNationalPokedex
|
Implementation if Pyredrid and AsparagusEduardo debug menu plus huge rewrite and tons of additions
V2: Fly, Warp, Flags, Vars, give items, give pkm 2 versions
Improved cheats, reworked the vars system
vars function now starts at VARS_START and end VARS_END
Figured out how to display FieldMessages, reimplemented CheckSafeBlock, cleanup
DebugAction_DestroyExtraWindow instead of multiple, renamed text variables
cleanup + pokemon simple
give pokemon complex nearly done
Complex pkm works, items now with icons
if statement cleanup
alter build tools to include maps per map group
Warp functionallity
added hex value to flags and vars
cleanup
Credits
2020-09-26 00:51:02 +02:00
|
|
|
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
|
2022-09-02 12:10:11 +02:00
|
|
|
additem ITEM_ACRO_BIKE
|
Implementation if Pyredrid and AsparagusEduardo debug menu plus huge rewrite and tons of additions
V2: Fly, Warp, Flags, Vars, give items, give pkm 2 versions
Improved cheats, reworked the vars system
vars function now starts at VARS_START and end VARS_END
Figured out how to display FieldMessages, reimplemented CheckSafeBlock, cleanup
DebugAction_DestroyExtraWindow instead of multiple, renamed text variables
cleanup + pokemon simple
give pokemon complex nearly done
Complex pkm works, items now with icons
if statement cleanup
alter build tools to include maps per map group
Warp functionallity
added hex value to flags and vars
cleanup
Credits
2020-09-26 00:51:02 +02:00
|
|
|
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
|
2021-06-20 15:48:44 +02:00
|
|
|
|
2023-03-08 05:51:51 +01:00
|
|
|
Debug_FlagsNotSetOverworldConfigMessage::
|
|
|
|
message Debug_FlagsNotSetOverworldConfigMessage_Text
|
2023-07-18 09:17:03 +02:00
|
|
|
goto Debug_MessageEnd
|
2022-09-02 18:39:38 +02:00
|
|
|
|
2023-03-08 05:51:51 +01:00
|
|
|
Debug_FlagsNotSetOverworldConfigMessage_Text:
|
2022-09-02 18:39:38 +02:00
|
|
|
.string "Feature unavailable!\n"
|
|
|
|
.string "Please define a usable flag in:\l"
|
2023-03-08 05:51:51 +01:00
|
|
|
.string "'include/config/overworld.h'!$"
|
|
|
|
|
|
|
|
Debug_FlagsNotSetBattleConfigMessage::
|
|
|
|
message Debug_FlagsNotSetBattleConfigMessage_Text
|
2023-07-18 09:17:03 +02:00
|
|
|
goto Debug_MessageEnd
|
2023-03-08 05:51:51 +01:00
|
|
|
|
|
|
|
Debug_FlagsNotSetBattleConfigMessage_Text:
|
|
|
|
.string "Feature unavailable!\n"
|
|
|
|
.string "Please define a usable flag in:\l"
|
|
|
|
.string "'include/config/battle.h'!$"
|
2022-09-02 18:39:38 +02:00
|
|
|
|
2023-07-18 09:17:03 +02:00
|
|
|
Debug_BoxFilledMessage::
|
|
|
|
message Debug_BoxFilledMessage_Text
|
|
|
|
goto Debug_MessageEnd
|
|
|
|
|
|
|
|
Debug_BoxFilledMessage_Text:
|
|
|
|
.string "Storage boxes filled!$"
|
|
|
|
|
2021-06-20 15:48:44 +02:00
|
|
|
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
|
2023-05-20 20:27:55 +02:00
|
|
|
|
|
|
|
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}.$"
|
2023-05-24 14:24:44 +02:00
|
|
|
|
|
|
|
.endif
|