From ae5ec7f5b05218ba21c53ef632590a5243a7f647 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Sun, 24 Sep 2017 14:17:14 -0500 Subject: Replace script commands: snop -> nop, snop1 -> nop1, jump -> goto --- data/scripts/mauville_man.inc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'data/scripts/mauville_man.inc') diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc index 997b5a31c..38378eb2e 100644 --- a/data/scripts/mauville_man.inc +++ b/data/scripts/mauville_man.inc @@ -132,7 +132,7 @@ SpeakToTrader: jumpeq already_traded message gTextTrader_MenuPrompt waittext - jump do_trader_menu_get + goto do_trader_menu_get end dont_want_to_trade: @@ -156,7 +156,7 @@ do_trader_menu_get: special ScrSpecial_DoesPlayerHaveNoDecorations compare RESULT, TRUE jumpeq player_has_no_decorations - jump do_trader_menu_give + goto do_trader_menu_give end cancelled_get_menu: @@ -166,13 +166,13 @@ cancelled_get_menu: rare_item_cant_trade_away: message gTextTrader_ICantTradeThatOneAway waittext - jump do_trader_menu_get + goto do_trader_menu_get end dont_want_item: message gTextTrader_MenuPrompt waittext - jump do_trader_menu_get + goto do_trader_menu_get end player_has_no_decorations: @@ -203,7 +203,7 @@ cancelled_give_menu: decoration_is_in_use: msgbox gTextTrader_InUseYouCantTradeIt, 4 - jump do_trader_menu_give + goto do_trader_menu_give end decorations_full: @@ -244,11 +244,11 @@ choose_story: specialval RESULT, ScrSpecial_StorytellerUpdateStat compare RESULT, FALSE jumpeq no_stat_update - jump stat_update + goto stat_update cancel_story_menu: compare 0x8008, 0 jumpeq dont_hear_story - jump yes_hear_story + goto yes_hear_story no_stat_update: msgbox gTextStoryteller_CouldThereBeOtherTrainers, 4 msgbox gTextStoryteller_HearAnotherLegendaryTale, MSGBOX_YESNO @@ -261,7 +261,7 @@ yes_hear_story: specialval RESULT, ScrSpecial_StorytellerGetFreeStorySlot compare RESULT, 4 jumpeq cant_record_story @ story list is full - jump prompt_record_story + goto prompt_record_story no_stories_recorded: msgbox gTextStoryteller_ButIKnowOfNoLegendaryTrainers, 4 prompt_record_story: @@ -329,7 +329,7 @@ tell_another_giddy_tale: also_i_was_thinking: msgbox gTextGiddy_AlsoIWasThinking, 4 - jump tell_giddy_tale + goto tell_giddy_tale end tell_giddy_tale: -- cgit v1.2.3 From 86e7bf1fd61b151011038cdb281db3de0a1d9e6a Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Sun, 24 Sep 2017 14:28:51 -0500 Subject: Replace more script commands and fix German build --- data/scripts/mauville_man.inc | 74 +++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'data/scripts/mauville_man.inc') diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc index 38378eb2e..6202a8acf 100644 --- a/data/scripts/mauville_man.inc +++ b/data/scripts/mauville_man.inc @@ -27,9 +27,9 @@ SpeakToBard: faceplayer msgbox gTextBard_HiImTheBard, MSGBOX_YESNO compare RESULT, YES - jumpeq yes_hear_song + goto_if_eq yes_hear_song compare RESULT, NO - jumpeq dont_hear_song + goto_if_eq dont_hear_song end yes_hear_song: @@ -40,7 +40,7 @@ yes_hear_song: special ScrSpecial_HasBardSongBeenChanged compare RESULT, FALSE @ Prompt new lyrics only if song hasn't been changed - jumpeq prompt_write_lyrics + goto_if_eq prompt_write_lyrics msgbox gTextBard_OhWhatAMovingSong, 4 release end @@ -53,9 +53,9 @@ dont_hear_song: prompt_write_lyrics: msgbox gTextBard_SoHowDoYouLikeMySong, MSGBOX_YESNO compare RESULT, YES - jumpeq write_lyrics + goto_if_eq write_lyrics compare RESULT, NO - jumpeq dont_write_lyrics + goto_if_eq dont_write_lyrics end write_lyrics: @@ -64,7 +64,7 @@ write_lyrics: lock faceplayer compare RESULT, NO - jumpeq dont_write_lyrics + goto_if_eq dont_write_lyrics msgbox gTextBard_ThankYouKindly, 4 setvar 0x8004, 1 @ Give the player ear rape again @@ -72,7 +72,7 @@ write_lyrics: pause 60 msgbox gTextBard_WasThatHowYouWanted, MSGBOX_YESNO compare RESULT, NO - jumpeq write_lyrics @ Keep looping until player responds YES + goto_if_eq write_lyrics @ Keep looping until player responds YES special ScrSpecial_SaveBardSongLyrics msgbox gTextBard_OkayThatsIt, 4 release @@ -95,7 +95,7 @@ SpeakToHipster: msgbox gTextHipster_TheyCallMeTheHipster, 4 special ScrSpecial_GetHipsterSpokenFlag compare RESULT, FALSE - jumpeq hipster_first_time + goto_if_eq hipster_first_time msgbox gTextHipster_TaughtYouAlready, 4 release end @@ -103,7 +103,7 @@ SpeakToHipster: hipster_first_time: special ScrSpecial_HipsterTeachWord compare RESULT, TRUE @ TRUE if player learned a new word - jumpeq teach_new_word + goto_if_eq teach_new_word msgbox gTextHipster_YouAlreadyKnowALot, 4 release end @@ -126,10 +126,10 @@ SpeakToTrader: faceplayer msgbox gTextTrader_Introduction, MSGBOX_YESNO compare RESULT, NO - jumpeq dont_want_to_trade + goto_if_eq dont_want_to_trade special ScrSpecial_GetTraderTradedFlag compare RESULT, TRUE - jumpeq already_traded + goto_if_eq already_traded message gTextTrader_MenuPrompt waittext goto do_trader_menu_get @@ -147,15 +147,15 @@ do_trader_menu_get: special ScrSpecial_TraderMenuGetDecoration waitstate compare 0x8004, 0 - jumpeq cancelled_get_menu + goto_if_eq cancelled_get_menu compare 0x8004, 65535 - jumpeq rare_item_cant_trade_away + goto_if_eq rare_item_cant_trade_away msgbox gTextTrader_ItemOnceBelongedTo, MSGBOX_YESNO compare RESULT, NO - jumpeq dont_want_item + goto_if_eq dont_want_item special ScrSpecial_DoesPlayerHaveNoDecorations compare RESULT, TRUE - jumpeq player_has_no_decorations + goto_if_eq player_has_no_decorations goto do_trader_menu_give end @@ -184,15 +184,15 @@ do_trader_menu_give: special ScrSpecial_TraderMenuGiveDecoration waitstate compare 0x8006, 0 - jumpeq cancelled_give_menu + goto_if_eq cancelled_give_menu compare 0x8006, 65535 - jumpeq decoration_is_in_use + goto_if_eq decoration_is_in_use special ScrSpecial_IsDecorationFull compare RESULT, 1 - jumpeq decorations_full + goto_if_eq decorations_full msgbox gTextTrader_SoWellTrade, MSGBOX_YESNO compare RESULT, NO - jumpeq do_trader_menu_give + goto_if_eq do_trader_menu_give special ScrSpecial_TraderDoDecorationTrade msgbox gTextTrader_ThenWellTrade, 2 end @@ -226,51 +226,51 @@ SpeakToStoryteller: faceplayer msgbox gTextStoryteller_Introduction, MSGBOX_YESNO compare RESULT, NO - jumpeq dont_hear_story + goto_if_eq dont_hear_story specialval RESULT, ScrSpecial_StorytellerGetFreeStorySlot compare RESULT, 0 @ If slot is 0, then the list is empty - jumpeq no_stories_recorded + goto_if_eq no_stories_recorded choose_story: message gTextStoryteller_WhichTale waittext special ScrSpecial_StorytellerStoryListMenu waitstate compare RESULT, FALSE - jumpeq cancel_story_menu + goto_if_eq cancel_story_menu setvar 0x8008, 1 special ScrSpecial_StorytellerDisplayStory waittext waitbutton specialval RESULT, ScrSpecial_StorytellerUpdateStat compare RESULT, FALSE - jumpeq no_stat_update + goto_if_eq no_stat_update goto stat_update cancel_story_menu: compare 0x8008, 0 - jumpeq dont_hear_story + 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 - jumpeq choose_story + goto_if_eq choose_story yes_hear_story: specialval RESULT, ScrSpecial_HasStorytellerAlreadyRecorded compare RESULT, TRUE - jumpeq cant_record_story @ already recorded story + goto_if_eq cant_record_story @ already recorded story specialval RESULT, ScrSpecial_StorytellerGetFreeStorySlot compare RESULT, 4 - jumpeq cant_record_story @ story list is full + 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 - jumpeq dont_hear_story + goto_if_eq dont_hear_story specialval RESULT, ScrSpecial_StorytellerInitializeRandomStat compare RESULT, TRUE - jumpeq stat_update + goto_if_eq stat_update msgbox gTextStoryteller_ImNotSatisfied, 4 closebutton release @@ -306,25 +306,25 @@ SpeakToGiddy: faceplayer msgbox gTextGiddy_Introduction, MSGBOX_YESNO compare RESULT, YES - jumpeq yes_hear_giddy + goto_if_eq yes_hear_giddy compare RESULT, NO - jumpeq dont_hear_giddy + goto_if_eq dont_hear_giddy end yes_hear_giddy: special ScrSpecial_GiddyShouldTellAnotherTale compare RESULT, TRUE - jumpeq tell_giddy_tale + goto_if_eq tell_giddy_tale compare RESULT, FALSE - jumpeq bye_bye + goto_if_eq bye_bye end tell_another_giddy_tale: special ScrSpecial_GiddyShouldTellAnotherTale compare RESULT, TRUE - jumpeq also_i_was_thinking + goto_if_eq also_i_was_thinking compare RESULT, FALSE - jumpeq bye_bye + goto_if_eq bye_bye end also_i_was_thinking: @@ -338,9 +338,9 @@ tell_giddy_tale: waittext yesnobox 20, 8 compare RESULT, 1 - jumpeq tell_another_giddy_tale + goto_if_eq tell_another_giddy_tale compare RESULT, 0 - jumpeq tell_another_giddy_tale + goto_if_eq tell_another_giddy_tale end dont_hear_giddy: -- cgit v1.2.3 From 1e2601a0287fdacfb8f0d680fbe82a274414ea65 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Sun, 24 Sep 2017 17:10:51 -0500 Subject: more script command renaming --- data/scripts/mauville_man.inc | 74 +++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'data/scripts/mauville_man.inc') diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc index 6202a8acf..0a74b3c9a 100644 --- a/data/scripts/mauville_man.inc +++ b/data/scripts/mauville_man.inc @@ -26,9 +26,9 @@ SpeakToBard: lock faceplayer msgbox gTextBard_HiImTheBard, MSGBOX_YESNO - compare RESULT, YES + compare_var_to_imm RESULT, YES goto_if_eq yes_hear_song - compare RESULT, NO + compare_var_to_imm RESULT, NO goto_if_eq dont_hear_song end @@ -38,7 +38,7 @@ yes_hear_song: special ScrSpecial_PlayBardSong pause 60 special ScrSpecial_HasBardSongBeenChanged - compare RESULT, FALSE + compare_var_to_imm RESULT, FALSE @ Prompt new lyrics only if song hasn't been changed goto_if_eq prompt_write_lyrics msgbox gTextBard_OhWhatAMovingSong, 4 @@ -52,9 +52,9 @@ dont_hear_song: prompt_write_lyrics: msgbox gTextBard_SoHowDoYouLikeMySong, MSGBOX_YESNO - compare RESULT, YES + compare_var_to_imm RESULT, YES goto_if_eq write_lyrics - compare RESULT, NO + compare_var_to_imm RESULT, NO goto_if_eq dont_write_lyrics end @@ -63,7 +63,7 @@ write_lyrics: call MauvilleCity_PokemonCenter_1F_EventScript_1A00F3 lock faceplayer - compare RESULT, NO + compare_var_to_imm RESULT, NO goto_if_eq dont_write_lyrics msgbox gTextBard_ThankYouKindly, 4 setvar 0x8004, 1 @@ -71,7 +71,7 @@ write_lyrics: special ScrSpecial_PlayBardSong pause 60 msgbox gTextBard_WasThatHowYouWanted, MSGBOX_YESNO - compare RESULT, NO + compare_var_to_imm RESULT, NO goto_if_eq write_lyrics @ Keep looping until player responds YES special ScrSpecial_SaveBardSongLyrics msgbox gTextBard_OkayThatsIt, 4 @@ -94,7 +94,7 @@ SpeakToHipster: setflag 2054 msgbox gTextHipster_TheyCallMeTheHipster, 4 special ScrSpecial_GetHipsterSpokenFlag - compare RESULT, FALSE + compare_var_to_imm RESULT, FALSE goto_if_eq hipster_first_time msgbox gTextHipster_TaughtYouAlready, 4 release @@ -102,7 +102,7 @@ SpeakToHipster: hipster_first_time: special ScrSpecial_HipsterTeachWord - compare RESULT, TRUE @ TRUE if player learned a new word + compare_var_to_imm RESULT, TRUE @ TRUE if player learned a new word goto_if_eq teach_new_word msgbox gTextHipster_YouAlreadyKnowALot, 4 release @@ -125,10 +125,10 @@ SpeakToTrader: lock faceplayer msgbox gTextTrader_Introduction, MSGBOX_YESNO - compare RESULT, NO + compare_var_to_imm RESULT, NO goto_if_eq dont_want_to_trade special ScrSpecial_GetTraderTradedFlag - compare RESULT, TRUE + compare_var_to_imm RESULT, TRUE goto_if_eq already_traded message gTextTrader_MenuPrompt waittext @@ -146,15 +146,15 @@ already_traded: do_trader_menu_get: special ScrSpecial_TraderMenuGetDecoration waitstate - compare 0x8004, 0 + compare_var_to_imm 0x8004, 0 goto_if_eq cancelled_get_menu - compare 0x8004, 65535 + compare_var_to_imm 0x8004, 65535 goto_if_eq rare_item_cant_trade_away msgbox gTextTrader_ItemOnceBelongedTo, MSGBOX_YESNO - compare RESULT, NO + compare_var_to_imm RESULT, NO goto_if_eq dont_want_item special ScrSpecial_DoesPlayerHaveNoDecorations - compare RESULT, TRUE + compare_var_to_imm RESULT, TRUE goto_if_eq player_has_no_decorations goto do_trader_menu_give end @@ -183,15 +183,15 @@ do_trader_menu_give: msgbox gTextTrader_PickDecorationYoullTrade, 4 special ScrSpecial_TraderMenuGiveDecoration waitstate - compare 0x8006, 0 + compare_var_to_imm 0x8006, 0 goto_if_eq cancelled_give_menu - compare 0x8006, 65535 + compare_var_to_imm 0x8006, 65535 goto_if_eq decoration_is_in_use special ScrSpecial_IsDecorationFull - compare RESULT, 1 + compare_var_to_imm RESULT, 1 goto_if_eq decorations_full msgbox gTextTrader_SoWellTrade, MSGBOX_YESNO - compare RESULT, NO + compare_var_to_imm RESULT, NO goto_if_eq do_trader_menu_give special ScrSpecial_TraderDoDecorationTrade msgbox gTextTrader_ThenWellTrade, 2 @@ -225,51 +225,51 @@ SpeakToStoryteller: lock faceplayer msgbox gTextStoryteller_Introduction, MSGBOX_YESNO - compare RESULT, NO + compare_var_to_imm RESULT, NO goto_if_eq dont_hear_story specialval RESULT, ScrSpecial_StorytellerGetFreeStorySlot - compare RESULT, 0 @ If slot is 0, then the list is empty + compare_var_to_imm RESULT, 0 @ If slot is 0, then the list is empty goto_if_eq no_stories_recorded choose_story: message gTextStoryteller_WhichTale waittext special ScrSpecial_StorytellerStoryListMenu waitstate - compare RESULT, FALSE + compare_var_to_imm RESULT, FALSE goto_if_eq cancel_story_menu setvar 0x8008, 1 special ScrSpecial_StorytellerDisplayStory waittext waitbutton specialval RESULT, ScrSpecial_StorytellerUpdateStat - compare RESULT, FALSE + compare_var_to_imm RESULT, FALSE goto_if_eq no_stat_update goto stat_update cancel_story_menu: - compare 0x8008, 0 + compare_var_to_imm 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_to_imm RESULT, YES goto_if_eq choose_story yes_hear_story: specialval RESULT, ScrSpecial_HasStorytellerAlreadyRecorded - compare RESULT, TRUE + compare_var_to_imm RESULT, TRUE goto_if_eq cant_record_story @ already recorded story specialval RESULT, ScrSpecial_StorytellerGetFreeStorySlot - compare RESULT, 4 + compare_var_to_imm 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_to_imm RESULT, NO goto_if_eq dont_hear_story specialval RESULT, ScrSpecial_StorytellerInitializeRandomStat - compare RESULT, TRUE + compare_var_to_imm RESULT, TRUE goto_if_eq stat_update msgbox gTextStoryteller_ImNotSatisfied, 4 closebutton @@ -305,25 +305,25 @@ SpeakToGiddy: lock faceplayer msgbox gTextGiddy_Introduction, MSGBOX_YESNO - compare RESULT, YES + compare_var_to_imm RESULT, YES goto_if_eq yes_hear_giddy - compare RESULT, NO + compare_var_to_imm RESULT, NO goto_if_eq dont_hear_giddy end yes_hear_giddy: special ScrSpecial_GiddyShouldTellAnotherTale - compare RESULT, TRUE + compare_var_to_imm RESULT, TRUE goto_if_eq tell_giddy_tale - compare RESULT, FALSE + compare_var_to_imm RESULT, FALSE goto_if_eq bye_bye end tell_another_giddy_tale: special ScrSpecial_GiddyShouldTellAnotherTale - compare RESULT, TRUE + compare_var_to_imm RESULT, TRUE goto_if_eq also_i_was_thinking - compare RESULT, FALSE + compare_var_to_imm RESULT, FALSE goto_if_eq bye_bye end @@ -337,9 +337,9 @@ tell_giddy_tale: special ShowFieldMessageStringVar4 waittext yesnobox 20, 8 - compare RESULT, 1 + compare_var_to_imm RESULT, 1 goto_if_eq tell_another_giddy_tale - compare RESULT, 0 + compare_var_to_imm RESULT, 0 goto_if_eq tell_another_giddy_tale end -- cgit v1.2.3 From 207f8e6a76f6b13855780bb2608be9d8c1f14b15 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Sun, 24 Sep 2017 17:36:39 -0500 Subject: more script command renaming --- data/scripts/mauville_man.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'data/scripts/mauville_man.inc') diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc index 0a74b3c9a..1881bc242 100644 --- a/data/scripts/mauville_man.inc +++ b/data/scripts/mauville_man.inc @@ -36,7 +36,7 @@ yes_hear_song: setvar 0x8004, 0 @ Give the player ear rape special ScrSpecial_PlayBardSong - pause 60 + delay 60 special ScrSpecial_HasBardSongBeenChanged compare_var_to_imm RESULT, FALSE @ Prompt new lyrics only if song hasn't been changed @@ -69,7 +69,7 @@ write_lyrics: setvar 0x8004, 1 @ Give the player ear rape again special ScrSpecial_PlayBardSong - pause 60 + delay 60 msgbox gTextBard_WasThatHowYouWanted, MSGBOX_YESNO compare_var_to_imm RESULT, NO goto_if_eq write_lyrics @ Keep looping until player responds YES @@ -227,7 +227,7 @@ SpeakToStoryteller: msgbox gTextStoryteller_Introduction, MSGBOX_YESNO compare_var_to_imm RESULT, NO goto_if_eq dont_hear_story - specialval RESULT, ScrSpecial_StorytellerGetFreeStorySlot + specialvar RESULT, ScrSpecial_StorytellerGetFreeStorySlot compare_var_to_imm RESULT, 0 @ If slot is 0, then the list is empty goto_if_eq no_stories_recorded choose_story: @@ -241,7 +241,7 @@ choose_story: special ScrSpecial_StorytellerDisplayStory waittext waitbutton - specialval RESULT, ScrSpecial_StorytellerUpdateStat + specialvar RESULT, ScrSpecial_StorytellerUpdateStat compare_var_to_imm RESULT, FALSE goto_if_eq no_stat_update goto stat_update @@ -255,10 +255,10 @@ no_stat_update: compare_var_to_imm RESULT, YES goto_if_eq choose_story yes_hear_story: - specialval RESULT, ScrSpecial_HasStorytellerAlreadyRecorded + specialvar RESULT, ScrSpecial_HasStorytellerAlreadyRecorded compare_var_to_imm RESULT, TRUE goto_if_eq cant_record_story @ already recorded story - specialval RESULT, ScrSpecial_StorytellerGetFreeStorySlot + specialvar RESULT, ScrSpecial_StorytellerGetFreeStorySlot compare_var_to_imm RESULT, 4 goto_if_eq cant_record_story @ story list is full goto prompt_record_story @@ -268,7 +268,7 @@ prompt_record_story: msgbox gTextStoryteller_HaveYouAnyTales, MSGBOX_YESNO compare_var_to_imm RESULT, NO goto_if_eq dont_hear_story - specialval RESULT, ScrSpecial_StorytellerInitializeRandomStat + specialvar RESULT, ScrSpecial_StorytellerInitializeRandomStat compare_var_to_imm RESULT, TRUE goto_if_eq stat_update msgbox gTextStoryteller_ImNotSatisfied, 4 -- cgit v1.2.3 From 9458b3fad18eea3fbd9168a88dd33e8aa10abcda Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Tue, 26 Sep 2017 14:09:41 -0500 Subject: single compare macro --- data/scripts/mauville_man.inc | 74 +++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'data/scripts/mauville_man.inc') diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc index 1881bc242..215fb3948 100644 --- a/data/scripts/mauville_man.inc +++ b/data/scripts/mauville_man.inc @@ -26,9 +26,9 @@ SpeakToBard: lock faceplayer msgbox gTextBard_HiImTheBard, MSGBOX_YESNO - compare_var_to_imm RESULT, YES + compare RESULT, YES goto_if_eq yes_hear_song - compare_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq dont_hear_song end @@ -38,7 +38,7 @@ yes_hear_song: special ScrSpecial_PlayBardSong delay 60 special ScrSpecial_HasBardSongBeenChanged - compare_var_to_imm RESULT, FALSE + compare RESULT, FALSE @ Prompt new lyrics only if song hasn't been changed goto_if_eq prompt_write_lyrics msgbox gTextBard_OhWhatAMovingSong, 4 @@ -52,9 +52,9 @@ dont_hear_song: prompt_write_lyrics: msgbox gTextBard_SoHowDoYouLikeMySong, MSGBOX_YESNO - compare_var_to_imm RESULT, YES + compare RESULT, YES goto_if_eq write_lyrics - compare_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq dont_write_lyrics end @@ -63,7 +63,7 @@ write_lyrics: call MauvilleCity_PokemonCenter_1F_EventScript_1A00F3 lock faceplayer - compare_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq dont_write_lyrics msgbox gTextBard_ThankYouKindly, 4 setvar 0x8004, 1 @@ -71,7 +71,7 @@ write_lyrics: special ScrSpecial_PlayBardSong delay 60 msgbox gTextBard_WasThatHowYouWanted, MSGBOX_YESNO - compare_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq write_lyrics @ Keep looping until player responds YES special ScrSpecial_SaveBardSongLyrics msgbox gTextBard_OkayThatsIt, 4 @@ -94,7 +94,7 @@ SpeakToHipster: setflag 2054 msgbox gTextHipster_TheyCallMeTheHipster, 4 special ScrSpecial_GetHipsterSpokenFlag - compare_var_to_imm RESULT, FALSE + compare RESULT, FALSE goto_if_eq hipster_first_time msgbox gTextHipster_TaughtYouAlready, 4 release @@ -102,7 +102,7 @@ SpeakToHipster: hipster_first_time: special ScrSpecial_HipsterTeachWord - compare_var_to_imm RESULT, TRUE @ TRUE if player learned a new word + compare RESULT, TRUE @ TRUE if player learned a new word goto_if_eq teach_new_word msgbox gTextHipster_YouAlreadyKnowALot, 4 release @@ -125,10 +125,10 @@ SpeakToTrader: lock faceplayer msgbox gTextTrader_Introduction, MSGBOX_YESNO - compare_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq dont_want_to_trade special ScrSpecial_GetTraderTradedFlag - compare_var_to_imm RESULT, TRUE + compare RESULT, TRUE goto_if_eq already_traded message gTextTrader_MenuPrompt waittext @@ -146,15 +146,15 @@ already_traded: do_trader_menu_get: special ScrSpecial_TraderMenuGetDecoration waitstate - compare_var_to_imm 0x8004, 0 + compare 0x8004, 0 goto_if_eq cancelled_get_menu - compare_var_to_imm 0x8004, 65535 + compare 0x8004, 65535 goto_if_eq rare_item_cant_trade_away msgbox gTextTrader_ItemOnceBelongedTo, MSGBOX_YESNO - compare_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq dont_want_item special ScrSpecial_DoesPlayerHaveNoDecorations - compare_var_to_imm RESULT, TRUE + compare RESULT, TRUE goto_if_eq player_has_no_decorations goto do_trader_menu_give end @@ -183,15 +183,15 @@ do_trader_menu_give: msgbox gTextTrader_PickDecorationYoullTrade, 4 special ScrSpecial_TraderMenuGiveDecoration waitstate - compare_var_to_imm 0x8006, 0 + compare 0x8006, 0 goto_if_eq cancelled_give_menu - compare_var_to_imm 0x8006, 65535 + compare 0x8006, 65535 goto_if_eq decoration_is_in_use special ScrSpecial_IsDecorationFull - compare_var_to_imm RESULT, 1 + compare RESULT, 1 goto_if_eq decorations_full msgbox gTextTrader_SoWellTrade, MSGBOX_YESNO - compare_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq do_trader_menu_give special ScrSpecial_TraderDoDecorationTrade msgbox gTextTrader_ThenWellTrade, 2 @@ -225,51 +225,51 @@ SpeakToStoryteller: lock faceplayer msgbox gTextStoryteller_Introduction, MSGBOX_YESNO - compare_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq dont_hear_story specialvar RESULT, ScrSpecial_StorytellerGetFreeStorySlot - compare_var_to_imm RESULT, 0 @ If slot is 0, then the list is empty + compare RESULT, 0 @ If slot is 0, then the list is empty goto_if_eq no_stories_recorded choose_story: message gTextStoryteller_WhichTale waittext special ScrSpecial_StorytellerStoryListMenu waitstate - compare_var_to_imm RESULT, FALSE + compare RESULT, FALSE goto_if_eq cancel_story_menu setvar 0x8008, 1 special ScrSpecial_StorytellerDisplayStory waittext waitbutton specialvar RESULT, ScrSpecial_StorytellerUpdateStat - compare_var_to_imm RESULT, FALSE + compare RESULT, FALSE goto_if_eq no_stat_update goto stat_update cancel_story_menu: - compare_var_to_imm 0x8008, 0 + compare 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_var_to_imm RESULT, YES + compare RESULT, YES goto_if_eq choose_story yes_hear_story: specialvar RESULT, ScrSpecial_HasStorytellerAlreadyRecorded - compare_var_to_imm RESULT, TRUE + compare RESULT, TRUE goto_if_eq cant_record_story @ already recorded story specialvar RESULT, ScrSpecial_StorytellerGetFreeStorySlot - compare_var_to_imm RESULT, 4 + compare 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_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq dont_hear_story specialvar RESULT, ScrSpecial_StorytellerInitializeRandomStat - compare_var_to_imm RESULT, TRUE + compare RESULT, TRUE goto_if_eq stat_update msgbox gTextStoryteller_ImNotSatisfied, 4 closebutton @@ -305,25 +305,25 @@ SpeakToGiddy: lock faceplayer msgbox gTextGiddy_Introduction, MSGBOX_YESNO - compare_var_to_imm RESULT, YES + compare RESULT, YES goto_if_eq yes_hear_giddy - compare_var_to_imm RESULT, NO + compare RESULT, NO goto_if_eq dont_hear_giddy end yes_hear_giddy: special ScrSpecial_GiddyShouldTellAnotherTale - compare_var_to_imm RESULT, TRUE + compare RESULT, TRUE goto_if_eq tell_giddy_tale - compare_var_to_imm RESULT, FALSE + compare RESULT, FALSE goto_if_eq bye_bye end tell_another_giddy_tale: special ScrSpecial_GiddyShouldTellAnotherTale - compare_var_to_imm RESULT, TRUE + compare RESULT, TRUE goto_if_eq also_i_was_thinking - compare_var_to_imm RESULT, FALSE + compare RESULT, FALSE goto_if_eq bye_bye end @@ -337,9 +337,9 @@ tell_giddy_tale: special ShowFieldMessageStringVar4 waittext yesnobox 20, 8 - compare_var_to_imm RESULT, 1 + compare RESULT, 1 goto_if_eq tell_another_giddy_tale - compare_var_to_imm RESULT, 0 + compare RESULT, 0 goto_if_eq tell_another_giddy_tale end -- cgit v1.2.3 From e926119b726839bc687c503db3680899906aad0d Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Sat, 30 Sep 2017 17:04:25 -0500 Subject: update --- data/scripts/mauville_man.inc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'data/scripts/mauville_man.inc') diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc index 215fb3948..402afae23 100644 --- a/data/scripts/mauville_man.inc +++ b/data/scripts/mauville_man.inc @@ -131,7 +131,7 @@ SpeakToTrader: compare RESULT, TRUE goto_if_eq already_traded message gTextTrader_MenuPrompt - waittext + waitmessage goto do_trader_menu_get end @@ -165,13 +165,13 @@ cancelled_get_menu: rare_item_cant_trade_away: message gTextTrader_ICantTradeThatOneAway - waittext + waitmessage goto do_trader_menu_get end dont_want_item: message gTextTrader_MenuPrompt - waittext + waitmessage goto do_trader_menu_get end @@ -232,14 +232,14 @@ SpeakToStoryteller: goto_if_eq no_stories_recorded choose_story: message gTextStoryteller_WhichTale - waittext + waitmessage special ScrSpecial_StorytellerStoryListMenu waitstate compare RESULT, FALSE goto_if_eq cancel_story_menu setvar 0x8008, 1 special ScrSpecial_StorytellerDisplayStory - waittext + waitmessage waitbutton specialvar RESULT, ScrSpecial_StorytellerUpdateStat compare RESULT, FALSE @@ -272,25 +272,25 @@ prompt_record_story: compare RESULT, TRUE goto_if_eq stat_update msgbox gTextStoryteller_ImNotSatisfied, 4 - closebutton + closemessage release end stat_update: msgbox gTextStoryteller_BirthOfANewLegend, 4 - closebutton + closemessage release end dont_hear_story: msgbox gTextStoryteller_OhIFeelStifled, 4 - closebutton + closemessage release end cant_record_story: msgbox gTextStoryteller_WishMorePeopleWould, 4 - closebutton + closemessage release end @@ -335,7 +335,7 @@ also_i_was_thinking: tell_giddy_tale: special ScrSpecial_GenerateGiddyLine special ShowFieldMessageStringVar4 - waittext + waitmessage yesnobox 20, 8 compare RESULT, 1 goto_if_eq tell_another_giddy_tale -- cgit v1.2.3