Fix special var names
This commit is contained in:
@@ -66,7 +66,7 @@ gSpecialVars:: @ 815FD0C
|
|||||||
.4byte gSpecialVar_MonBoxPos
|
.4byte gSpecialVar_MonBoxPos
|
||||||
.4byte gSpecialVar_TextColor
|
.4byte gSpecialVar_TextColor
|
||||||
.4byte gSpecialVar_PrevTextColor
|
.4byte gSpecialVar_PrevTextColor
|
||||||
.4byte gUnknown_20370DE
|
.4byte gSpecialVar_0x8014
|
||||||
|
|
||||||
.include "data/specials.inc"
|
.include "data/specials.inc"
|
||||||
|
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink:: @ 816BF7C
|
|||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
putitemaway VAR_0x8009
|
putitemaway VAR_0x8009
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
compare VAR_0x8008, ITEM_FRESH_WATER
|
compare VAR_0x8008, ITEM_FRESH_WATER
|
||||||
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM16
|
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM16
|
||||||
compare VAR_0x8008, ITEM_SODA_POP
|
compare VAR_0x8008, ITEM_SODA_POP
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ FiveIsland_WaterLabyrinth_EventScript_TryGiveEgg:: @ 81688BA
|
|||||||
message FiveIsland_WaterLabyrinth_Text_ReceivedEggFromMan
|
message FiveIsland_WaterLabyrinth_Text_ReceivedEggFromMan
|
||||||
waitfanfare
|
waitfanfare
|
||||||
waitmessage
|
waitmessage
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
goto FiveIsland_WaterLabyrinth_EventScript_PostEggComment
|
goto FiveIsland_WaterLabyrinth_EventScript_PostEggComment
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ FourIsland_EventScript_DaycareAcceptEgg:: @ 8167DD1
|
|||||||
FourIsland_EventScript_DaycareReceivedEgg:: @ 8167DEB
|
FourIsland_EventScript_DaycareReceivedEgg:: @ 8167DEB
|
||||||
textcolor 3
|
textcolor 3
|
||||||
message DayCare_Text_ReceivedEgg
|
message DayCare_Text_ReceivedEgg
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
playfanfare MUS_FANFA1
|
playfanfare MUS_FANFA1
|
||||||
waitfanfare
|
waitfanfare
|
||||||
waitbuttonpress
|
waitbuttonpress
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ FourIsland_PokemonDayCare_RetrieveMon:: @ 8171B05
|
|||||||
playmoncry VAR_RESULT, 0
|
playmoncry VAR_RESULT, 0
|
||||||
textcolor 3
|
textcolor 3
|
||||||
msgbox DayCare_Text_TookBackMon
|
msgbox DayCare_Text_TookBackMon
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
waitmoncry
|
waitmoncry
|
||||||
specialvar VAR_RESULT, GetDaycareState
|
specialvar VAR_RESULT, GetDaycareState
|
||||||
compare VAR_RESULT, DAYCARE_ONE_MON
|
compare VAR_RESULT, DAYCARE_ONE_MON
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ FuchsiaCity_SafariZone_Entrance_EventScript_TryEnterSafariZone:: @ 816D3CA
|
|||||||
playfanfare MUS_FANFA1
|
playfanfare MUS_FANFA1
|
||||||
message FuchsiaCity_SafariZone_Entrance_Text_PlayerReceived30SafariBalls
|
message FuchsiaCity_SafariZone_Entrance_Text_PlayerReceived30SafariBalls
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
msgbox FuchsiaCity_SafariZone_Entrance_Text_CallYouOnPAWhenYouRunOut
|
msgbox FuchsiaCity_SafariZone_Entrance_Text_CallYouOnPAWhenYouRunOut
|
||||||
closemessage
|
closemessage
|
||||||
hidemoneybox 0, 0
|
hidemoneybox 0, 0
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ FuchsiaCity_WardensHouse_EventScript_GiveGoldTeeth:: @ 816D780
|
|||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
msgbox FuchsiaCity_WardensHouse_Text_WardenPoppedInHisTeeth
|
msgbox FuchsiaCity_WardensHouse_Text_WardenPoppedInHisTeeth
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
checkplayergender
|
checkplayergender
|
||||||
compare VAR_RESULT, MALE
|
compare VAR_RESULT, MALE
|
||||||
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksMale
|
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksMale
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ OneIsland_PokemonCenter_1F_EventScript_ReceiveTownMapPage:: @ 8170E46
|
|||||||
message OneIsland_PokemonCenter_1F_Text_ReceivedExtraPageForTownMap
|
message OneIsland_PokemonCenter_1F_Text_ReceivedExtraPageForTownMap
|
||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
return
|
return
|
||||||
|
|
||||||
OneIsland_PokemonCenter_1F_EventScript_ReceiveTownMap:: @ 8170E58
|
OneIsland_PokemonCenter_1F_EventScript_ReceiveTownMap:: @ 8170E58
|
||||||
@@ -264,7 +264,7 @@ OneIsland_PokemonCenter_1F_EventScript_GiveCelioSapphire:: @ 8170FA5
|
|||||||
message OneIsland_PokemonCenter_1F_Text_HandedSapphireToCelio
|
message OneIsland_PokemonCenter_1F_Text_HandedSapphireToCelio
|
||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
removeitem ITEM_SAPPHIRE, 1
|
removeitem ITEM_SAPPHIRE, 1
|
||||||
msgbox OneIsland_PokemonCenter_1F_Text_ThankYouGiveMeTime
|
msgbox OneIsland_PokemonCenter_1F_Text_ThankYouGiveMeTime
|
||||||
closemessage
|
closemessage
|
||||||
@@ -310,7 +310,7 @@ OneIsland_PokemonCenter_1F_EventScript_GiveCelioRuby:: @ 8171044
|
|||||||
message OneIsland_PokemonCenter_1F_Text_HandedRubyToCelio
|
message OneIsland_PokemonCenter_1F_Text_HandedRubyToCelio
|
||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
closemessage
|
closemessage
|
||||||
applymovement LOCALID_CELIO, OneIsland_PokemonCenter_1F_Movement_CelioPutGemInMachine
|
applymovement LOCALID_CELIO, OneIsland_PokemonCenter_1F_Movement_CelioPutGemInMachine
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
@@ -349,7 +349,7 @@ OneIsland_PokemonCenter_1F_EventScript_GiveRainbowPass:: @ 81710B2
|
|||||||
message OneIsland_PokemonCenter_1F_Text_ObtainedExtraMapPage
|
message OneIsland_PokemonCenter_1F_Text_ObtainedExtraMapPage
|
||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
goto OneIsland_PokemonCenter_1F_EventScript_ExplainRainbowPass
|
goto OneIsland_PokemonCenter_1F_EventScript_ExplainRainbowPass
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ PalletTown_ProfessorOaksLab_EventScript_NationalDexScene:: @ 8169035
|
|||||||
textcolor 3
|
textcolor 3
|
||||||
msgbox PalletTown_ProfessorOaksLab_Text_OakTookBothPokedexUnits
|
msgbox PalletTown_ProfessorOaksLab_Text_OakTookBothPokedexUnits
|
||||||
closemessage
|
closemessage
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
compare VAR_FACING, DIR_NORTH
|
compare VAR_FACING, DIR_NORTH
|
||||||
call_if_eq PalletTown_ProfessorOaksLab_EventScript_OakBringDexesToDeskNorth
|
call_if_eq PalletTown_ProfessorOaksLab_EventScript_OakBringDexesToDeskNorth
|
||||||
compare VAR_FACING, DIR_SOUTH
|
compare VAR_FACING, DIR_SOUTH
|
||||||
@@ -128,7 +128,7 @@ PalletTown_ProfessorOaksLab_EventScript_NationalDexScene:: @ 8169035
|
|||||||
message PalletTown_ProfessorOaksLab_Text_PlayersPokedexWasUpgraded
|
message PalletTown_ProfessorOaksLab_Text_PlayersPokedexWasUpgraded
|
||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
special EnableNationalPokedex
|
special EnableNationalPokedex
|
||||||
msgbox PalletTown_ProfessorOaksLab_Text_OakMustReallyWorkToFillPokedex
|
msgbox PalletTown_ProfessorOaksLab_Text_OakMustReallyWorkToFillPokedex
|
||||||
msgbox PalletTown_ProfessorOaksLab_Text_RivalIllCompleteThePokedex
|
msgbox PalletTown_ProfessorOaksLab_Text_RivalIllCompleteThePokedex
|
||||||
@@ -655,7 +655,7 @@ PalletTown_ProfessorOaksLab_EventScript_ReceiveDexScene:: @ 816961E
|
|||||||
message PalletTown_ProfessorOaksLab_Text_DeliveredOaksParcel
|
message PalletTown_ProfessorOaksLab_Text_DeliveredOaksParcel
|
||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
removeitem ITEM_OAKS_PARCEL, 1
|
removeitem ITEM_OAKS_PARCEL, 1
|
||||||
msgbox PalletTown_ProfessorOaksLab_Text_OakCustomBallIOrdered
|
msgbox PalletTown_ProfessorOaksLab_Text_OakCustomBallIOrdered
|
||||||
playbgm MUS_RIVAL1, 0
|
playbgm MUS_RIVAL1, 0
|
||||||
@@ -721,7 +721,7 @@ PalletTown_ProfessorOaksLab_EventScript_ReceiveDexScene:: @ 816961E
|
|||||||
message PalletTown_ProfessorOaksLab_Text_ReceivedPokedexFromOak
|
message PalletTown_ProfessorOaksLab_Text_ReceivedPokedexFromOak
|
||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
setflag FLAG_SYS_POKEDEX_GET
|
setflag FLAG_SYS_POKEDEX_GET
|
||||||
special sub_810B810
|
special sub_810B810
|
||||||
setvar VAR_MAP_SCENE_POKEMON_CENTER_TEALA, 1
|
setvar VAR_MAP_SCENE_POKEMON_CENTER_TEALA, 1
|
||||||
@@ -1212,7 +1212,7 @@ PalletTown_ProfessorOaksLab_EventScript_ChoseStarter:: @ 8169C74
|
|||||||
erasemonpic
|
erasemonpic
|
||||||
removeobject VAR_LAST_TALKED
|
removeobject VAR_LAST_TALKED
|
||||||
msgbox PalletTown_ProfessorOaksLab_Text_OakThisMonIsEnergetic
|
msgbox PalletTown_ProfessorOaksLab_Text_OakThisMonIsEnergetic
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
setflag FLAG_SYS_POKEMON_GET
|
setflag FLAG_SYS_POKEMON_GET
|
||||||
setflag FLAG_PALLET_LADY_NOT_BLOCKING_SIGN
|
setflag FLAG_PALLET_LADY_NOT_BLOCKING_SIGN
|
||||||
givemon PLAYER_STARTER_SPECIES, 5, ITEM_NONE
|
givemon PLAYER_STARTER_SPECIES, 5, ITEM_NONE
|
||||||
|
|||||||
@@ -728,7 +728,7 @@ PewterCity_EventScript_AideGiveRunningShoes:: @ 81662DE
|
|||||||
signmsg
|
signmsg
|
||||||
msgbox PewterCity_Text_ExplainRunningShoes
|
msgbox PewterCity_Text_ExplainRunningShoes
|
||||||
normalmsg
|
normalmsg
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
msgbox PewterCity_Text_MustBeGoingBackToLab
|
msgbox PewterCity_Text_MustBeGoingBackToLab
|
||||||
closemessage
|
closemessage
|
||||||
compare VAR_TEMP_1, 0
|
compare VAR_TEMP_1, 0
|
||||||
|
|||||||
@@ -27,5 +27,5 @@ PewterCity_House1_EventScript_DoNidoranCry:: @ 816A749
|
|||||||
playmoncry SPECIES_NIDORAN_M, 0
|
playmoncry SPECIES_NIDORAN_M, 0
|
||||||
msgbox PewterCity_House1_Text_Nidoran
|
msgbox PewterCity_House1_Text_Nidoran
|
||||||
waitmoncry
|
waitmoncry
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ Route1_EventScript_MartClerk:: @ 8167EFE
|
|||||||
waitfanfare
|
waitfanfare
|
||||||
additem ITEM_POTION
|
additem ITEM_POTION
|
||||||
msgbox Route1_Text_PutPotionAway
|
msgbox Route1_Text_PutPotionAway
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
setflag FLAG_GOT_POTION_ON_ROUTE_1
|
setflag FLAG_GOT_POTION_ON_ROUTE_1
|
||||||
release
|
release
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ SSAnne_CaptainsOffice_EventScript_Captain:: @ 8160B3A
|
|||||||
waitmessage
|
waitmessage
|
||||||
playfanfare MUS_ME_ASA
|
playfanfare MUS_ME_ASA
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
delay 50
|
delay 50
|
||||||
applymovement 1, Movement_FacePlayer
|
applymovement 1, Movement_FacePlayer
|
||||||
waitmovement 0
|
waitmovement 0
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ SaffronCity_Dojo_EventScript_HitmonleeBall:: @ 816EC00
|
|||||||
waitmovement 0
|
waitmovement 0
|
||||||
textcolor 0
|
textcolor 0
|
||||||
msgbox SaffronCity_Dojo_Text_YouWantHitmonlee, MSGBOX_YESNO
|
msgbox SaffronCity_Dojo_Text_YouWantHitmonlee, MSGBOX_YESNO
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
compare VAR_RESULT, YES
|
compare VAR_RESULT, YES
|
||||||
goto_if_eq SaffronCity_Dojo_EventScript_GiveHitmon
|
goto_if_eq SaffronCity_Dojo_EventScript_GiveHitmon
|
||||||
erasemonpic
|
erasemonpic
|
||||||
@@ -51,7 +51,7 @@ SaffronCity_Dojo_EventScript_HitmonchanBall:: @ 816EC46
|
|||||||
waitmovement 0
|
waitmovement 0
|
||||||
textcolor 0
|
textcolor 0
|
||||||
msgbox SaffronCity_Dojo_Text_YouWantHitmonchan, MSGBOX_YESNO
|
msgbox SaffronCity_Dojo_Text_YouWantHitmonchan, MSGBOX_YESNO
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
compare VAR_RESULT, YES
|
compare VAR_RESULT, YES
|
||||||
goto_if_eq SaffronCity_Dojo_EventScript_GiveHitmon
|
goto_if_eq SaffronCity_Dojo_EventScript_GiveHitmon
|
||||||
erasemonpic
|
erasemonpic
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ SevenIsland_SevaultCanyon_House_EventScript_BaldingMan:: @ 8172183
|
|||||||
goto_if_eq SevenIsland_SevaultCanyon_House_EventScript_DeclineDance
|
goto_if_eq SevenIsland_SevaultCanyon_House_EventScript_DeclineDance
|
||||||
msgbox SevenIsland_SevaultCanyon_House_Text_DancedChanseyDance
|
msgbox SevenIsland_SevaultCanyon_House_Text_DancedChanseyDance
|
||||||
closemessage
|
closemessage
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
compare VAR_FACING, DIR_SOUTH
|
compare VAR_FACING, DIR_SOUTH
|
||||||
call_if_ne SevenIsland_SevaultCanyon_House_EventScript_PlayerFaceDown
|
call_if_ne SevenIsland_SevaultCanyon_House_EventScript_PlayerFaceDown
|
||||||
delay 30
|
delay 30
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ TwoIsland_House_EventScript_GiveBigMushroom:: @ 8171727
|
|||||||
removeitem ITEM_BIG_MUSHROOM, 1
|
removeitem ITEM_BIG_MUSHROOM, 1
|
||||||
textcolor 3
|
textcolor 3
|
||||||
msgbox TwoIsland_House_Text_HandedOverOneBigMushroom
|
msgbox TwoIsland_House_Text_HandedOverOneBigMushroom
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
goto TwoIsland_House_EventScript_EndTutorMove
|
goto TwoIsland_House_EventScript_EndTutorMove
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ TwoIsland_House_EventScript_GiveTinyMushrooms:: @ 8171741
|
|||||||
removeitem ITEM_TINY_MUSHROOM, 2
|
removeitem ITEM_TINY_MUSHROOM, 2
|
||||||
textcolor 3
|
textcolor 3
|
||||||
msgbox TwoIsland_House_Text_HandedOverTwoTinyMushrooms
|
msgbox TwoIsland_House_Text_HandedOverTwoTinyMushrooms
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
goto TwoIsland_House_EventScript_EndTutorMove
|
goto TwoIsland_House_EventScript_EndTutorMove
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ TwoIsland_JoyfulGameCorner_EventScript_GiveDaddyMeteorite:: @ 817158A
|
|||||||
message TwoIsland_JoyfulGameCorner_Text_HandedMeteoriteToLostellesDaddy
|
message TwoIsland_JoyfulGameCorner_Text_HandedMeteoriteToLostellesDaddy
|
||||||
waitmessage
|
waitmessage
|
||||||
waitfanfare
|
waitfanfare
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
removeitem ITEM_METEORITE, 1
|
removeitem ITEM_METEORITE, 1
|
||||||
msgbox TwoIsland_JoyfulGameCorner_Text_OhThisIsFromBill
|
msgbox TwoIsland_JoyfulGameCorner_Text_OhThisIsFromBill
|
||||||
goto TwoIsland_JoyfulGameCorner_EventScript_ReceiveMoonStone
|
goto TwoIsland_JoyfulGameCorner_EventScript_ReceiveMoonStone
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ CableClub_EventScript_TryEnterColosseum:: @ 81BB54C
|
|||||||
textcolor 3
|
textcolor 3
|
||||||
special TryBattleLinkup
|
special TryBattleLinkup
|
||||||
waitstate
|
waitstate
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq CableClub_EventScript_EnterColosseum
|
goto_if_eq CableClub_EventScript_EnterColosseum
|
||||||
compare VAR_RESULT, 2
|
compare VAR_RESULT, 2
|
||||||
@@ -395,7 +395,7 @@ CableClub_EventScript_TradeCenter:: @ 81BB6AB
|
|||||||
textcolor 3
|
textcolor 3
|
||||||
special TryTradeLinkup
|
special TryTradeLinkup
|
||||||
waitstate
|
waitstate
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq CableClub_EventScript_EnterTradeCenter
|
goto_if_eq CableClub_EventScript_EnterTradeCenter
|
||||||
compare VAR_RESULT, 2
|
compare VAR_RESULT, 2
|
||||||
@@ -1001,7 +1001,7 @@ CableClub_EventScript_ChooseLinkLeaderFrom2:: @ 81BBDBC
|
|||||||
textcolor 3
|
textcolor 3
|
||||||
message CableClub_Text_ChooseGroupLeaderOfTwo
|
message CableClub_Text_ChooseGroupLeaderOfTwo
|
||||||
waitmessage
|
waitmessage
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
|
multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
|
||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, CableClub_EventScript_TryJoinGroup2Players
|
case 0, CableClub_EventScript_TryJoinGroup2Players
|
||||||
@@ -1036,7 +1036,7 @@ CableClub_EventScript_ChooseLinkLeaderFrom4:: @ 81BBE50
|
|||||||
textcolor 3
|
textcolor 3
|
||||||
message CableClub_Text_ChooseGroupLeaderOfFour
|
message CableClub_Text_ChooseGroupLeaderOfFour
|
||||||
waitmessage
|
waitmessage
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
|
multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
|
||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, CableClub_EventScript_TryJoinGroup4Players
|
case 0, CableClub_EventScript_TryJoinGroup4Players
|
||||||
@@ -1071,7 +1071,7 @@ CableClub_EventScript_ChooseLinkLeader:: @ 81BBEE4
|
|||||||
textcolor 3
|
textcolor 3
|
||||||
message CableClub_Text_ChooseGroupLeader
|
message CableClub_Text_ChooseGroupLeader
|
||||||
waitmessage
|
waitmessage
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
|
multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
|
||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, CableClub_EventScript_TryJoinGroupXPlayers
|
case 0, CableClub_EventScript_TryJoinGroupXPlayers
|
||||||
@@ -1281,7 +1281,7 @@ CableClub_EventScript_ChooseLinkLeaderMinigame:: @ 81BC1CE
|
|||||||
textcolor 3
|
textcolor 3
|
||||||
message CableClub_Text_ChooseGroupLeader
|
message CableClub_Text_ChooseGroupLeader
|
||||||
waitmessage
|
waitmessage
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
|
multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
|
||||||
switch VAR_RESULT
|
switch VAR_RESULT
|
||||||
case 0, CableClub_EventScript_TryJoinMinigameLinkGroup
|
case 0, CableClub_EventScript_TryJoinMinigameLinkGroup
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ Route5_PokemonDayCare_EventScript_RetrieveMon:: @ 81BF4EA
|
|||||||
waitse
|
waitse
|
||||||
playmoncry VAR_RESULT, 0
|
playmoncry VAR_RESULT, 0
|
||||||
msgbox Route5_PokemonDayCare_Text_PlayerGotMonBack
|
msgbox Route5_PokemonDayCare_Text_PlayerGotMonBack
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
waitmoncry
|
waitmoncry
|
||||||
goto Route5_PokemonDayCare_EventScript_CloseMoneyBox
|
goto Route5_PokemonDayCare_EventScript_CloseMoneyBox
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -560,7 +560,7 @@ EventScript_CanOnlyBeLearnedOnce:: @ 81C4F37
|
|||||||
signmsg
|
signmsg
|
||||||
msgbox Text_MoveCanOnlyBeLearnedOnce, MSGBOX_YESNO
|
msgbox Text_MoveCanOnlyBeLearnedOnce, MSGBOX_YESNO
|
||||||
normalmsg
|
normalmsg
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
return
|
return
|
||||||
|
|
||||||
Movement_JumpInPlaceDown: @ 81C4F4C
|
Movement_JumpInPlaceDown: @ 81C4F4C
|
||||||
|
|||||||
@@ -1,18 +1,19 @@
|
|||||||
EventScript_1A666F:: @ 81A666F
|
@ Unused, handled by textcolor script cmd
|
||||||
copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
|
EventScript_SaveTextColor:: @ 81A666F
|
||||||
|
copyvar VAR_PREV_TEXT_COLOR, VAR_TEXT_COLOR
|
||||||
return
|
return
|
||||||
|
|
||||||
EventScript_1A6675:: @ 81A6675
|
EventScript_RestorePrevTextColor:: @ 81A6675
|
||||||
copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
|
copyvar VAR_TEXT_COLOR, VAR_PREV_TEXT_COLOR
|
||||||
return
|
return
|
||||||
|
|
||||||
Std_ObtainItem:: @ 81A667B
|
Std_ObtainItem:: @ 81A667B
|
||||||
copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
|
copyvar VAR_PREV_TEXT_COLOR, VAR_TEXT_COLOR
|
||||||
textcolor 3
|
textcolor 3
|
||||||
additem VAR_0x8000, VAR_0x8001
|
additem VAR_0x8000, VAR_0x8001
|
||||||
copyvar VAR_0x8007, VAR_RESULT
|
copyvar VAR_0x8007, VAR_RESULT
|
||||||
call EventScript_ObtainItemMessage
|
call EventScript_ObtainItemMessage
|
||||||
copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
|
copyvar VAR_TEXT_COLOR, VAR_PREV_TEXT_COLOR
|
||||||
return
|
return
|
||||||
|
|
||||||
EventScript_ObtainItemMessage:: @ 81A6697
|
EventScript_ObtainItemMessage:: @ 81A6697
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ Std_ReceivedItem:: @ 81A4E66
|
|||||||
compare VAR_0x8002, MUS_FANFA1
|
compare VAR_0x8002, MUS_FANFA1
|
||||||
call_if_eq EventScript_ReceivedItemWaitFanfare
|
call_if_eq EventScript_ReceivedItemWaitFanfare
|
||||||
putitemaway VAR_0x8000, VAR_0x8001
|
putitemaway VAR_0x8000, VAR_0x8001
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
return
|
return
|
||||||
|
|
||||||
EventScript_ReceivedItemFanfare1:: @ 81A4EA2
|
EventScript_ReceivedItemFanfare1:: @ 81A4EA2
|
||||||
|
|||||||
@@ -299,7 +299,7 @@ TrainerTower_Roof_EventScript_ReceivePrize:
|
|||||||
waitmessage
|
waitmessage
|
||||||
getstdstring 2, STDSTRING_ITEMS_POCKET
|
getstdstring 2, STDSTRING_ITEMS_POCKET
|
||||||
msgbox Text_PutItemAway
|
msgbox Text_PutItemAway
|
||||||
call EventScript_1A6675
|
call EventScript_RestorePrevTextColor
|
||||||
goto TrainerTower_Roof_EventScript_CheckFinalTime
|
goto TrainerTower_Roof_EventScript_CheckFinalTime
|
||||||
|
|
||||||
TrainerTower_Roof_EventScript_NoRoomForPrize:: @ 81C543A
|
TrainerTower_Roof_EventScript_NoRoomForPrize:: @ 81C543A
|
||||||
|
|||||||
@@ -323,11 +323,11 @@
|
|||||||
#define VAR_RESULT 0x800D
|
#define VAR_RESULT 0x800D
|
||||||
#define VAR_ITEM_ID 0x800E
|
#define VAR_ITEM_ID 0x800E
|
||||||
#define VAR_LAST_TALKED 0x800F
|
#define VAR_LAST_TALKED 0x800F
|
||||||
#define VAR_CONTEST_RANK 0x8010
|
#define VAR_MON_BOX_ID 0x8010
|
||||||
#define VAR_CONTEST_CATEGORY 0x8011
|
#define VAR_MON_BOX_POS 0x8011
|
||||||
#define VAR_MON_BOX_ID 0x8012
|
#define VAR_TEXT_COLOR 0x8012
|
||||||
#define VAR_MON_BOX_POS 0x8013
|
#define VAR_PREV_TEXT_COLOR 0x8013
|
||||||
#define VAR_TEXT_COLOR 0x8014
|
#define VAR_0x8014 0x8014 // Unknown/unused
|
||||||
|
|
||||||
#define SPECIAL_VARS_END 0x8014
|
#define SPECIAL_VARS_END 0x8014
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -24,7 +24,7 @@ EWRAM_DATA u16 gSpecialVar_MonBoxId = 0;
|
|||||||
EWRAM_DATA u16 gSpecialVar_MonBoxPos = 0;
|
EWRAM_DATA u16 gSpecialVar_MonBoxPos = 0;
|
||||||
EWRAM_DATA u16 gSpecialVar_TextColor = 0;
|
EWRAM_DATA u16 gSpecialVar_TextColor = 0;
|
||||||
EWRAM_DATA u16 gSpecialVar_PrevTextColor = 0;
|
EWRAM_DATA u16 gSpecialVar_PrevTextColor = 0;
|
||||||
EWRAM_DATA u16 gUnknown_20370DE = 0;
|
EWRAM_DATA u16 gSpecialVar_0x8014 = 0;
|
||||||
EWRAM_DATA u8 sSpecialFlags[SPECIAL_FLAGS_COUNT] = {};
|
EWRAM_DATA u8 sSpecialFlags[SPECIAL_FLAGS_COUNT] = {};
|
||||||
|
|
||||||
u16 gLastQuestLogStoredFlagOrVarIdx;
|
u16 gLastQuestLogStoredFlagOrVarIdx;
|
||||||
@@ -321,5 +321,5 @@ void ResetSpecialVars(void)
|
|||||||
gSpecialVar_MonBoxPos = 0;
|
gSpecialVar_MonBoxPos = 0;
|
||||||
gSpecialVar_TextColor = 0;
|
gSpecialVar_TextColor = 0;
|
||||||
gSpecialVar_PrevTextColor = 0;
|
gSpecialVar_PrevTextColor = 0;
|
||||||
gUnknown_20370DE = 0;
|
gSpecialVar_0x8014 = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user