diff options
Diffstat (limited to 'data/scripts/mauville_man.inc')
-rw-r--r-- | data/scripts/mauville_man.inc | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc index 0e1835ae4..9e2db94a1 100644 --- a/data/scripts/mauville_man.inc +++ b/data/scripts/mauville_man.inc @@ -2,7 +2,7 @@ MauvilleCity_PokemonCenter_1F_EventScript_1AE744:: @ 81AE744 special ScrSpecial_GetCurrentMauvilleMan - switch RESULT + switch VAR_RESULT case MAUVILLE_MAN_BARD, SpeakToBard case MAUVILLE_MAN_HIPSTER, SpeakToHipster case MAUVILLE_MAN_TRADER, SpeakToTrader @@ -19,19 +19,19 @@ SpeakToBard: lock faceplayer msgbox gTextBard_HiImTheBard, MSGBOX_YESNO - compare RESULT, YES + compare VAR_RESULT, YES goto_if_eq yes_hear_song - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq dont_hear_song end yes_hear_song: - setvar VAR_SPECIAL_4, 0 + setvar VAR_0x8004, 0 @ Give the player ear rape special ScrSpecial_PlayBardSong delay 60 special ScrSpecial_HasBardSongBeenChanged - compare RESULT, FALSE + compare VAR_RESULT, FALSE @ Prompt new lyrics only if song hasn't been changed goto_if_eq prompt_write_lyrics msgbox gTextBard_OhWhatAMovingSong, 4 @@ -45,26 +45,26 @@ dont_hear_song: prompt_write_lyrics: msgbox gTextBard_SoHowDoYouLikeMySong, MSGBOX_YESNO - compare RESULT, YES + compare VAR_RESULT, YES goto_if_eq write_lyrics - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq dont_write_lyrics end write_lyrics: - setvar VAR_SPECIAL_4, 6 + setvar VAR_0x8004, 6 call MauvilleCity_PokemonCenter_1F_EventScript_1A00F3 lock faceplayer - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq dont_write_lyrics msgbox gTextBard_ThankYouKindly, 4 - setvar VAR_SPECIAL_4, 1 + setvar VAR_0x8004, 1 @ Give the player ear rape again special ScrSpecial_PlayBardSong delay 60 msgbox gTextBard_WasThatHowYouWanted, MSGBOX_YESNO - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq write_lyrics @ Keep looping until player responds YES special ScrSpecial_SaveBardSongLyrics msgbox gTextBard_OkayThatsIt, 4 @@ -87,7 +87,7 @@ SpeakToHipster: setflag FLAG_SYS_HIPSTER_MEET msgbox gTextHipster_TheyCallMeTheHipster, 4 special ScrSpecial_GetHipsterSpokenFlag - compare RESULT, FALSE + compare VAR_RESULT, FALSE goto_if_eq hipster_first_time msgbox gTextHipster_TaughtYouAlready, 4 release @@ -95,7 +95,7 @@ SpeakToHipster: hipster_first_time: special ScrSpecial_HipsterTeachWord - compare RESULT, TRUE @ TRUE if player learned a new word + compare VAR_RESULT, TRUE @ TRUE if player learned a new word goto_if_eq teach_new_word msgbox gTextHipster_YouAlreadyKnowALot, 4 release @@ -118,10 +118,10 @@ SpeakToTrader: lock faceplayer msgbox gTextTrader_Introduction, MSGBOX_YESNO - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq dont_want_to_trade special ScrSpecial_GetTraderTradedFlag - compare RESULT, TRUE + compare VAR_RESULT, TRUE goto_if_eq already_traded message gTextTrader_MenuPrompt waitmessage @@ -139,15 +139,15 @@ already_traded: do_trader_menu_get: special ScrSpecial_TraderMenuGetDecoration waitstate - compare VAR_SPECIAL_4, 0 + compare VAR_0x8004, 0 goto_if_eq cancelled_get_menu - compare VAR_SPECIAL_4, -1 + compare VAR_0x8004, -1 goto_if_eq rare_item_cant_trade_away msgbox gTextTrader_ItemOnceBelongedTo, MSGBOX_YESNO - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq dont_want_item special ScrSpecial_DoesPlayerHaveNoDecorations - compare RESULT, TRUE + compare VAR_RESULT, TRUE goto_if_eq player_has_no_decorations goto do_trader_menu_give end @@ -176,15 +176,15 @@ do_trader_menu_give: msgbox gTextTrader_PickDecorationYoullTrade, 4 special ScrSpecial_TraderMenuGiveDecoration waitstate - compare VAR_SPECIAL_6, 0 + compare VAR_0x8006, 0 goto_if_eq cancelled_give_menu - compare VAR_SPECIAL_6, -1 + compare VAR_0x8006, -1 goto_if_eq decoration_is_in_use special ScrSpecial_IsDecorationFull - compare RESULT, 1 + compare VAR_RESULT, 1 goto_if_eq decorations_full msgbox gTextTrader_SoWellTrade, MSGBOX_YESNO - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq do_trader_menu_give special ScrSpecial_TraderDoDecorationTrade msgbox gTextTrader_ThenWellTrade, 2 @@ -211,58 +211,58 @@ decorations_full: .include "data/text/storyteller.inc" SpeakToStoryteller: - setvar VAR_SPECIAL_8, 0 - setvar VAR_SPECIAL_9, 0 - setvar VAR_SPECIAL_A, 0 - setvar VAR_SPECIAL_B, 0 + setvar VAR_0x8008, 0 + setvar VAR_0x8009, 0 + setvar VAR_0x800A, 0 + setvar VAR_0x800B, 0 lock faceplayer msgbox gTextStoryteller_Introduction, MSGBOX_YESNO - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq dont_hear_story - specialvar RESULT, ScrSpecial_StorytellerGetFreeStorySlot - compare RESULT, 0 @ If slot is 0, then the list is empty + specialvar VAR_RESULT, ScrSpecial_StorytellerGetFreeStorySlot + compare VAR_RESULT, 0 @ If slot is 0, then the list is empty goto_if_eq no_stories_recorded choose_story: message gTextStoryteller_WhichTale waitmessage special ScrSpecial_StorytellerStoryListMenu waitstate - compare RESULT, FALSE + compare VAR_RESULT, FALSE goto_if_eq cancel_story_menu - setvar VAR_SPECIAL_8, 1 + setvar VAR_0x8008, 1 special ScrSpecial_StorytellerDisplayStory waitmessage waitbuttonpress - specialvar RESULT, ScrSpecial_StorytellerUpdateStat - compare RESULT, FALSE + specialvar VAR_RESULT, ScrSpecial_StorytellerUpdateStat + compare VAR_RESULT, FALSE goto_if_eq no_stat_update goto stat_update cancel_story_menu: - compare VAR_SPECIAL_8, 0 + compare VAR_0x8008, 0 goto_if_eq dont_hear_story goto yes_hear_story no_stat_update: msgbox gTextStoryteller_CouldThereBeOtherTrainers, 4 msgbox gTextStoryteller_HearAnotherLegendaryTale, MSGBOX_YESNO - compare RESULT, YES + compare VAR_RESULT, YES goto_if_eq choose_story yes_hear_story: - specialvar RESULT, ScrSpecial_HasStorytellerAlreadyRecorded - compare RESULT, TRUE + specialvar VAR_RESULT, ScrSpecial_HasStorytellerAlreadyRecorded + compare VAR_RESULT, TRUE goto_if_eq cant_record_story @ already recorded story - specialvar RESULT, ScrSpecial_StorytellerGetFreeStorySlot - compare RESULT, 4 + specialvar VAR_RESULT, ScrSpecial_StorytellerGetFreeStorySlot + compare VAR_RESULT, 4 goto_if_eq cant_record_story @ story list is full goto prompt_record_story no_stories_recorded: msgbox gTextStoryteller_ButIKnowOfNoLegendaryTrainers, 4 prompt_record_story: msgbox gTextStoryteller_HaveYouAnyTales, MSGBOX_YESNO - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq dont_hear_story - specialvar RESULT, ScrSpecial_StorytellerInitializeRandomStat - compare RESULT, TRUE + specialvar VAR_RESULT, ScrSpecial_StorytellerInitializeRandomStat + compare VAR_RESULT, TRUE goto_if_eq stat_update msgbox gTextStoryteller_ImNotSatisfied, 4 closemessage @@ -298,25 +298,25 @@ SpeakToGiddy: lock faceplayer msgbox gTextGiddy_Introduction, MSGBOX_YESNO - compare RESULT, YES + compare VAR_RESULT, YES goto_if_eq yes_hear_giddy - compare RESULT, NO + compare VAR_RESULT, NO goto_if_eq dont_hear_giddy end yes_hear_giddy: special ScrSpecial_GiddyShouldTellAnotherTale - compare RESULT, TRUE + compare VAR_RESULT, TRUE goto_if_eq tell_giddy_tale - compare RESULT, FALSE + compare VAR_RESULT, FALSE goto_if_eq bye_bye end tell_another_giddy_tale: special ScrSpecial_GiddyShouldTellAnotherTale - compare RESULT, TRUE + compare VAR_RESULT, TRUE goto_if_eq also_i_was_thinking - compare RESULT, FALSE + compare VAR_RESULT, FALSE goto_if_eq bye_bye end @@ -330,9 +330,9 @@ tell_giddy_tale: special ShowFieldMessageStringVar4 waitmessage yesnobox 20, 8 - compare RESULT, 1 + compare VAR_RESULT, 1 goto_if_eq tell_another_giddy_tale - compare RESULT, 0 + compare VAR_RESULT, 0 goto_if_eq tell_another_giddy_tale end |