Add npc text color constants

This commit is contained in:
GriffinR
2022-08-09 16:03:42 -04:00
parent 0c1adf2115
commit fbdbc5851c
84 changed files with 318 additions and 294 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
EventScript_BagIsFull::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox Text_TooBadBagFull
release
end
+27 -27
View File
@@ -113,7 +113,7 @@ CableClub_EventScript_CloseLinkAndExitLinkRoom::
special HelpSystem_Enable
special QuestLog_StartRecordingInputsAfterDeferredEvent
setvar VAR_CABLE_CLUB_STATE, 0
textcolor 1
textcolor NPC_TEXT_COLOR_FEMALE
compare VAR_0x8007, 0
goto_if_eq CableClub_EventScript_PlayerExitLinkRoom
applymovement VAR_0x8007, Movement_AttendantFaceLeft
@@ -139,7 +139,7 @@ CableClub_EventScript_PlayerExitTradeCenter::
special HelpSystem_Enable
special QuestLog_StartRecordingInputsAfterDeferredEvent
setvar VAR_CABLE_CLUB_STATE, 0
textcolor 1
textcolor NPC_TEXT_COLOR_FEMALE
compare VAR_0x8007, 0
goto_if_eq CableClub_EventScript_PlayerExitLinkRoom
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerFaceAttendantRight
@@ -163,7 +163,7 @@ CableClub_EventScript_PlayerExitUnionRoom::
special HelpSystem_Enable
special QuestLog_StartRecordingInputsAfterDeferredEvent
setvar VAR_CABLE_CLUB_STATE, 0
textcolor 1
textcolor NPC_TEXT_COLOR_FEMALE
compare VAR_0x8007, 0
goto_if_eq CableClub_EventScript_PlayerExitLinkRoom
applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerFaceAttendantRight
@@ -192,7 +192,7 @@ CableClub_EventScript_PlayerExitLinkRoom::
CableClub_EventScript_Tutorial::
lockall
textcolor 1
textcolor NPC_TEXT_COLOR_FEMALE
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp
waitmovement 0
msgbox CableClub_Text_FirstTimeRightThisWay
@@ -285,7 +285,7 @@ CableClub_EventScript_TryEnterColosseum::
message CableClub_Text_PleaseWaitBCancel
waitmessage
special HelpSystem_Disable
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special TryBattleLinkup
waitstate
call EventScript_RestorePrevTextColor
@@ -392,7 +392,7 @@ CableClub_EventScript_TradeCenter::
message CableClub_Text_PleaseWaitBCancel
waitmessage
special HelpSystem_Disable
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special TryTradeLinkup
waitstate
call EventScript_RestorePrevTextColor
@@ -608,14 +608,14 @@ CableClub_EventScript_ShowBattleRecords::
BattleColosseum_2P_EventScript_PlayerSpot0::
setvar VAR_0x8005, 0
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterColosseumPlayerSpot
waitstate
end
BattleColosseum_2P_EventScript_PlayerSpot1::
setvar VAR_0x8005, 1
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterColosseumPlayerSpot
waitstate
end
@@ -627,7 +627,7 @@ BattleColosseum_4P_EventScript_PlayerSpot0::
compare VAR_RESULT, 0
goto_if_eq BattleColosseum_4P_EventScript_CancelSpotTrigger
setvar VAR_0x8005, 0
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterColosseumPlayerSpot
waitstate
end
@@ -639,7 +639,7 @@ BattleColosseum_4P_EventScript_PlayerSpot1::
compare VAR_RESULT, 0
goto_if_eq BattleColosseum_4P_EventScript_CancelSpotTrigger
setvar VAR_0x8005, 1
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterColosseumPlayerSpot
waitstate
end
@@ -651,7 +651,7 @@ BattleColosseum_4P_EventScript_PlayerSpot2::
compare VAR_RESULT, 0
goto_if_eq BattleColosseum_4P_EventScript_CancelSpotTrigger
setvar VAR_0x8005, 2
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterColosseumPlayerSpot
waitstate
end
@@ -663,7 +663,7 @@ BattleColosseum_4P_EventScript_PlayerSpot3::
compare VAR_RESULT, 0
goto_if_eq BattleColosseum_4P_EventScript_CancelSpotTrigger
setvar VAR_0x8005, 3
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterColosseumPlayerSpot
waitstate
end
@@ -673,14 +673,14 @@ BattleColosseum_4P_EventScript_CancelSpotTrigger::
TradeCenter_EventScript_Chair0::
setvar VAR_0x8005, 0
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterTradeSeat
waitstate
end
TradeCenter_EventScript_Chair1::
setvar VAR_0x8005, 1
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterTradeSeat
waitstate
end
@@ -688,7 +688,7 @@ TradeCenter_EventScript_Chair1::
@ Unused
TradeCenter_EventScript_Chair2::
setvar VAR_0x8005, 2
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterTradeSeat
waitstate
end
@@ -696,7 +696,7 @@ TradeCenter_EventScript_Chair2::
@ Unused
TradeCenter_EventScript_Chair3::
setvar VAR_0x8005, 3
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special EnterTradeSeat
waitstate
end
@@ -710,7 +710,7 @@ RecordCorner_EventScript_Spot3::
end
CableClub_EventScript_ReadTrainerCard::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox Text_LookedAtPlayersTrainerCard
fadescreen FADE_TO_BLACK
special Script_ShowLinkTrainerCard
@@ -718,7 +718,7 @@ CableClub_EventScript_ReadTrainerCard::
end
CableClub_EventScript_ReadTrainerCardColored::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox Text_LookedAtPlayersTrainerCardColored
fadescreen FADE_TO_BLACK
special Script_ShowLinkTrainerCard
@@ -726,13 +726,13 @@ CableClub_EventScript_ReadTrainerCardColored::
end
CableClub_EventScript_TooBusyToNotice::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox Text_TrainerTooBusyToNotice
closemessage
end
BattleColosseum_2P_EventScript_Attendant::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special Script_FacePlayer
msgbox Text_TakeSeatStartBattle
special Script_ClearHeldMovement
@@ -740,7 +740,7 @@ BattleColosseum_2P_EventScript_Attendant::
end
TradeCenter_EventScript_Attendant::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special Script_FacePlayer
msgbox Text_TakeSeatStartTrade
special Script_ClearHeldMovement
@@ -752,7 +752,7 @@ RecordCorner_EventScript_Attendant::
end
TradeCenter_ConfirmLeaveRoom::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox Text_TerminateLinkIfYouLeaveRoom, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq TradeCenter_TerminateLink
@@ -761,7 +761,7 @@ TradeCenter_ConfirmLeaveRoom::
end
TradeCenter_TerminateLink::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
messageautoscroll Text_TerminateLinkConfirmation
waitmessage
special ExitLinkRoom
@@ -1002,7 +1002,7 @@ CableClub_EventScript_SaveAndChooseLinkLeader::
end
CableClub_EventScript_ChooseLinkLeaderFrom2::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
message CableClub_Text_ChooseGroupLeaderOfTwo
waitmessage
call EventScript_RestorePrevTextColor
@@ -1037,7 +1037,7 @@ CableClub_EventScript_TryJoinGroup2Players::
return
CableClub_EventScript_ChooseLinkLeaderFrom4::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
message CableClub_Text_ChooseGroupLeaderOfFour
waitmessage
call EventScript_RestorePrevTextColor
@@ -1072,7 +1072,7 @@ CableClub_EventScript_TryJoinGroup4Players::
return
CableClub_EventScript_ChooseLinkLeader::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
message CableClub_Text_ChooseGroupLeader
waitmessage
call EventScript_RestorePrevTextColor
@@ -1282,7 +1282,7 @@ CableClub_EventScript_PlayDodrioBerryPicking::
end
CableClub_EventScript_ChooseLinkLeaderMinigame::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
message CableClub_Text_ChooseGroupLeader
waitmessage
call EventScript_RestorePrevTextColor
+1 -1
View File
@@ -98,7 +98,7 @@ Route5_PokemonDayCare_EventScript_RetrieveMon::
bufferpartymonnick STR_VAR_1, VAR_RESULT
copyvar VAR_RESULT, VAR_0x8008
msgbox Route5_PokemonDayCare_Text_ThankYouHeresMon
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
waitse
playmoncry VAR_RESULT, CRY_MODE_NORMAL
msgbox Route5_PokemonDayCare_Text_PlayerGotMonBack
+16 -16
View File
@@ -3,7 +3,7 @@ ViridianCity_School_EventScript_PokemonJournal::
faceplayer
famechecker FAMECHECKER_OAK, 3
famechecker FAMECHECKER_DAISY, 3
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureProfOak
release
end
@@ -13,7 +13,7 @@ EventScript_PokemonJournalUnused1::
faceplayer
famechecker FAMECHECKER_DAISY, 1
famechecker FAMECHECKER_OAK, 4
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureProfOak
release
end
@@ -22,7 +22,7 @@ EventScript_PokemonJournalUnused2::
lock
faceplayer
famechecker FAMECHECKER_DAISY, 4
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureProfOak
release
end
@@ -30,7 +30,7 @@ EventScript_PokemonJournalUnused2::
FourIsland_PokemonCenter_1F_EventScript_PokemonJournal::
lockall
famechecker FAMECHECKER_DAISY, 5
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureDaisyOak
releaseall
end
@@ -54,7 +54,7 @@ MtMoon_1F_EventScript_BaldingMan::
PewterCity_Museum_1F_EventScript_PokemonJournalBrock::
lockall
famechecker FAMECHECKER_BROCK, 5
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureBrock
releaseall
end
@@ -79,7 +79,7 @@ CeruleanCity_PokemonCenter_1F_EventScript_PokemonJournalMisty::
lock
faceplayer
famechecker FAMECHECKER_MISTY, 5
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureMisty
release
end
@@ -87,7 +87,7 @@ CeruleanCity_PokemonCenter_1F_EventScript_PokemonJournalMisty::
VermilionCity_PokemonCenter_1F_EventScript_PokemonJournalLtSurge::
lockall
famechecker FAMECHECKER_LTSURGE, 5
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureLtSurge
releaseall
end
@@ -96,7 +96,7 @@ CeladonCity_Condominiums_2F_EventScript_PokemonJournalErika::
lock
faceplayer
famechecker FAMECHECKER_ERIKA, 5
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureErika
release
end
@@ -105,7 +105,7 @@ FuchsiaCity_WardensHouse_EventScript_PokemonJournalKoga::
lock
faceplayer
famechecker FAMECHECKER_KOGA, 4
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureKoga
release
end
@@ -122,7 +122,7 @@ SaffronCity_PokemonCenter_1F_EventScript_PokemonJournalSabrina::
lock
faceplayer
famechecker FAMECHECKER_SABRINA, 4
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureSabrina
release
end
@@ -138,7 +138,7 @@ CinnabarIsland_Gym_EventScript_BlaineFujiPhoto::
FiveIsland_ResortGorgeous_House_EventScript_PokemonJournal::
lockall
famechecker FAMECHECKER_BLAINE, 5
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureBlaine
releaseall
end
@@ -155,7 +155,7 @@ FiveIsland_PokemonCenter_1F_EventScript_PokemonJournal::
lock
faceplayer
famechecker FAMECHECKER_LORELEI, 3
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureLorelei
release
end
@@ -164,7 +164,7 @@ SaffronCity_PokemonTrainerFanClub_EventScript_PokemonJournalBruno::
lock
faceplayer
famechecker FAMECHECKER_BRUNO, 2
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureBruno
release
end
@@ -190,7 +190,7 @@ SevenIsland_PokemonCenter_1F_EventScript_PokemonJournal::
lock
faceplayer
famechecker FAMECHECKER_AGATHA, 3
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureAgatha
release
end
@@ -239,7 +239,7 @@ IndigoPlateau_PokemonCenter_1F_EventScript_PokemonJournal::
lock
faceplayer
famechecker FAMECHECKER_LANCE, 4
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureLance
release
end
@@ -264,7 +264,7 @@ CinnabarIsland_PokemonCenter_1F_EventScript_PokemonJournalMrFuji::
lock
faceplayer
famechecker FAMECHECKER_MRFUJI, 5
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox PokemonJournal_Text_SpecialFeatureMrFuji
release
end
+1 -1
View File
@@ -1,6 +1,6 @@
EventScript_ItemfinderDigUpUnderfootItem::
lockall
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
waitse
call EventScript_TryPickUpHiddenItem
compare VAR_0x8007, TRUE
+1 -1
View File
@@ -557,7 +557,7 @@ EventScript_ChooseMoveTutorMon::
return
EventScript_CanOnlyBeLearnedOnce::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special DisableMsgBoxWalkaway
signmsg
msgbox Text_MoveCanOnlyBeLearnedOnce, MSGBOX_YESNO
+2 -2
View File
@@ -9,7 +9,7 @@ EventScript_RestorePrevTextColor::
Std_ObtainItem::
copyvar VAR_PREV_TEXT_COLOR, VAR_TEXT_COLOR
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
additem VAR_0x8000, VAR_0x8001
copyvar VAR_0x8007, VAR_RESULT
call EventScript_ObtainItemMessage
@@ -160,7 +160,7 @@ EventScript_NoRoomToPickUpItem::
EventScript_HiddenItemScript::
lockall
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
waitse
compare VAR_0x8005, 0
goto_if_eq EventScript_TryPickUpHiddenCoins
+1 -1
View File
@@ -65,7 +65,7 @@ PokedexRating_EventScript_Rate::
end
PokedexRating_EventScript_SetTextColor::
textcolor 0
textcolor NPC_TEXT_COLOR_MALE
return
PokedexRating_EventScript_DexIncomplete::
+1 -1
View File
@@ -23,7 +23,7 @@ PokemonLeague_EventScript_SetDoorOpen::
PokemonLeague_EventScript_PreventExit::
lockall
textcolor 0
textcolor NPC_TEXT_COLOR_MALE
msgbox Text_VoiceRangOutDontRunAway
closemessage
applymovement OBJ_EVENT_ID_PLAYER, PokemonLeague_Movement_ForcePlayerIn
+3 -3
View File
@@ -1,6 +1,6 @@
EventScript_Questionnaire::
lockall
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox Text_FillOutQuestionnaire, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_DeclineQuestionnaire
@@ -9,7 +9,7 @@ EventScript_Questionnaire::
lock
faceplayer
specialvar VAR_0x8008, GetMartClerkObjectId
textcolor 0
textcolor NPC_TEXT_COLOR_MALE
compare VAR_0x8004, 0
goto_if_eq EventScript_EnableMysteryGift
compare VAR_RESULT, 0
@@ -28,7 +28,7 @@ EventScript_EnableMysteryGift::
waitmovement 0
msgbox Text_YouKnowThoseWords
setflag FLAG_SYS_MYSTERY_GIFT_ENABLED
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special DisableMsgBoxWalkaway
signmsg
msgbox Text_YouCanAccessMysteryGift
+1 -1
View File
@@ -115,7 +115,7 @@ Route23_EventScript_RecognizeBadge::
end
Route23_EventScript_BadgeGuardTrigger::
textcolor 0
textcolor NPC_TEXT_COLOR_MALE
applymovement VAR_0x8009, Movement_WalkInPlaceFastestLeft
waitmovement 0
switch VAR_TEMP_1
+1 -1
View File
@@ -28,7 +28,7 @@ Std_MsgboxYesNo::
return
Std_ReceivedItem::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
compare VAR_0x8002, MUS_LEVEL_UP
call_if_eq EventScript_ReceivedItemFanfare1
compare VAR_0x8002, MUS_OBTAIN_KEY_ITEM
+3 -3
View File
@@ -238,7 +238,7 @@ FourIsland_House2_EventScript_AlreadyBraggedHoFMax::
end
FourIsland_House2_EventScript_BraggedHoF::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
playfanfare MUS_LEVEL_UP
message FourIsland_House2_Text_HoFStickerApplied
waitmessage
@@ -301,7 +301,7 @@ FourIsland_House2_EventScript_AlreadyBraggedEggsMax::
end
FourIsland_House2_EventScript_BraggedEggs::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
playfanfare MUS_LEVEL_UP
message FourIsland_House2_Text_EggStickerApplied
waitmessage
@@ -364,7 +364,7 @@ FourIsland_House2_EventScript_AlreadyBraggedLinkWinsMax::
end
FourIsland_House2_EventScript_BraggedLinkWins::
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
playfanfare MUS_LEVEL_UP
message FourIsland_House2_Text_VictoryStickerApplied
waitmessage
+1 -1
View File
@@ -292,7 +292,7 @@ TrainerTower_Roof_EventScript_GivePrize:
TrainerTower_Roof_EventScript_ReceivePrize:
msgbox TrainerTower_Roof_Text_ThisIsForYou
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
playfanfare MUS_LEVEL_UP
message Text_ObtainedTheX
waitfanfare
+3 -3
View File
@@ -1,6 +1,6 @@
EventScript_AfterWhiteOutHeal::
lockall
textcolor 1
textcolor NPC_TEXT_COLOR_FEMALE
msgbox Text_FirstShouldRestoreMonsHealth
call EventScript_PkmnCenterNurse_TakeAndHealPkmn
call_if_unset FLAG_DEFEATED_BROCK, EventScript_AfterWhiteOutHealMsgPreBrock
@@ -23,7 +23,7 @@ EventScript_AfterWhiteOutHealMsg::
EventScript_AfterWhiteOutMomHeal::
lockall
textcolor 1
textcolor NPC_TEXT_COLOR_FEMALE
applymovement LOCALID_MOM, Movement_WalkInPlaceFastestDown
waitmovement 0
msgbox Text_HadQuiteAnExperienceTakeRest
@@ -35,7 +35,7 @@ EventScript_AfterWhiteOutMomHeal::
EventScript_FieldPoison::
lockall
textcolor 3
textcolor NPC_TEXT_COLOR_NEUTRAL
special TryFieldPoisonWhiteOut
waitstate
compare VAR_RESULT, TRUE