Document Rustboro scripts

This commit is contained in:
GriffinR
2019-11-05 14:05:29 -05:00
committed by huderlem
parent 1d421f2f71
commit d9da932dad
31 changed files with 665 additions and 649 deletions
+58 -58
View File
@@ -1,90 +1,90 @@
RustboroCity_Flat1_2F_MapScripts:: @ 8215139
.byte 0
RustboroCity_Flat1_2F_EventScript_21513A:: @ 821513A
RustboroCity_Flat1_2F_EventScript_WaldasDad:: @ 821513A
lock
faceplayer
specialvar VAR_RESULT, TryBufferWaldaPhrase
compare VAR_RESULT, 0
goto_if_eq RustboroCity_Flat1_2F_EventScript_21518D
compare VAR_RESULT, 1
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151AD
compare VAR_RESULT, FALSE
goto_if_eq RustboroCity_Flat1_2F_EventScript_WaldasDadFirstPhrase
compare VAR_RESULT, TRUE
goto_if_eq RustboroCity_Flat1_2F_EventScript_WaldasDadNewPhrase
RustboroCity_Flat1_2F_EventScript_215157:: @ 8215157
RustboroCity_Flat1_2F_EventScript_GivePhrase:: @ 8215157
special DoWaldaNamingScreen
waitstate
compare VAR_0x8004, 1
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151D7
goto_if_eq RustboroCity_Flat1_2F_EventScript_CancelGivePhrase
compare VAR_0x8004, 2
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151E1
goto_if_eq RustboroCity_Flat1_2F_EventScript_CancelGiveFirstPhrase
specialvar VAR_RESULT, TryGetWallpaperWithWaldaPhrase
compare VAR_RESULT, 1
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151F8
compare VAR_RESULT, 0
goto_if_eq RustboroCity_Flat1_2F_EventScript_215221
compare VAR_RESULT, TRUE
goto_if_eq RustboroCity_Flat1_2F_EventScript_WaldaLikesPhrase
compare VAR_RESULT, FALSE
goto_if_eq RustboroCity_Flat1_2F_EventScript_WaldaDoesntLikePhrase
end
RustboroCity_Flat1_2F_EventScript_21518D:: @ 821518D
msgbox RustboroCity_Flat1_2F_Text_2152FA, MSGBOX_YESNO
RustboroCity_Flat1_2F_EventScript_WaldasDadFirstPhrase:: @ 821518D
msgbox RustboroCity_Flat1_2F_Text_HelloDoYouKnowFunnyPhrase, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151CD
msgbox RustboroCity_Flat1_2F_Text_2154AD, MSGBOX_DEFAULT
goto RustboroCity_Flat1_2F_EventScript_215157
goto_if_eq RustboroCity_Flat1_2F_EventScript_DeclineGivePhrase
msgbox RustboroCity_Flat1_2F_Text_WonderfulLetsHearSuggestion, MSGBOX_DEFAULT
goto RustboroCity_Flat1_2F_EventScript_GivePhrase
RustboroCity_Flat1_2F_EventScript_2151AD:: @ 82151AD
msgbox RustboroCity_Flat1_2F_Text_215448, MSGBOX_YESNO
RustboroCity_Flat1_2F_EventScript_WaldasDadNewPhrase:: @ 82151AD
msgbox RustboroCity_Flat1_2F_Text_BeenSayingXDoYouKnowBetterPhrase, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq RustboroCity_Flat1_2F_EventScript_2151CD
msgbox RustboroCity_Flat1_2F_Text_2154AD, MSGBOX_DEFAULT
goto RustboroCity_Flat1_2F_EventScript_215157
goto_if_eq RustboroCity_Flat1_2F_EventScript_DeclineGivePhrase
msgbox RustboroCity_Flat1_2F_Text_WonderfulLetsHearSuggestion, MSGBOX_DEFAULT
goto RustboroCity_Flat1_2F_EventScript_GivePhrase
RustboroCity_Flat1_2F_EventScript_2151CD:: @ 82151CD
msgbox RustboroCity_Flat1_2F_Text_2154E7, MSGBOX_DEFAULT
RustboroCity_Flat1_2F_EventScript_DeclineGivePhrase:: @ 82151CD
msgbox RustboroCity_Flat1_2F_Text_OhIsThatRight, MSGBOX_DEFAULT
release
end
RustboroCity_Flat1_2F_EventScript_2151D7:: @ 82151D7
msgbox RustboroCity_Flat1_2F_Text_2156E3, MSGBOX_DEFAULT
RustboroCity_Flat1_2F_EventScript_CancelGivePhrase:: @ 82151D7
msgbox RustboroCity_Flat1_2F_Text_OhYouDontKnowAny, MSGBOX_DEFAULT
release
end
RustboroCity_Flat1_2F_EventScript_2151E1:: @ 82151E1
msgbox RustboroCity_Flat1_2F_Text_21561E, MSGBOX_DEFAULT
call RustboroCity_Flat1_2F_EventScript_215238
msgbox RustboroCity_Flat1_2F_Text_215699, MSGBOX_DEFAULT
RustboroCity_Flat1_2F_EventScript_CancelGiveFirstPhrase:: @ 82151E1
msgbox RustboroCity_Flat1_2F_Text_ThinkOfMyOwnPhrase, MSGBOX_DEFAULT
call RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda
msgbox RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll2, MSGBOX_DEFAULT
release
end
RustboroCity_Flat1_2F_EventScript_2151F8:: @ 82151F8
msgbox RustboroCity_Flat1_2F_Text_215535, MSGBOX_DEFAULT
call RustboroCity_Flat1_2F_EventScript_215238
msgbox RustboroCity_Flat1_2F_Text_215565, MSGBOX_DEFAULT
RustboroCity_Flat1_2F_EventScript_WaldaLikesPhrase:: @ 82151F8
msgbox RustboroCity_Flat1_2F_Text_LetsGiveItATry2, MSGBOX_DEFAULT
call RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda
msgbox RustboroCity_Flat1_2F_Text_OhShesLaughing, MSGBOX_DEFAULT
applymovement 6, Common_Movement_FacePlayer
waitmovement 0
msgbox RustboroCity_Flat1_2F_Text_215792, MSGBOX_DEFAULT
msgbox RustboroCity_Flat1_2F_Text_ThankYouIllGiveYouWallpaper, MSGBOX_DEFAULT
release
end
RustboroCity_Flat1_2F_EventScript_215221:: @ 8215221
msgbox RustboroCity_Flat1_2F_Text_2155A4, MSGBOX_DEFAULT
call RustboroCity_Flat1_2F_EventScript_215238
msgbox RustboroCity_Flat1_2F_Text_2155D4, MSGBOX_DEFAULT
RustboroCity_Flat1_2F_EventScript_WaldaDoesntLikePhrase:: @ 8215221
msgbox RustboroCity_Flat1_2F_Text_LetsGiveItATry, MSGBOX_DEFAULT
call RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda
msgbox RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll, MSGBOX_DEFAULT
release
end
RustboroCity_Flat1_2F_EventScript_215238:: @ 8215238
RustboroCity_Flat1_2F_EventScript_WaldasDadFaceWalda:: @ 8215238
turnobject 6, DIR_EAST
return
RustboroCity_Flat1_2F_EventScript_21523D:: @ 821523D
msgbox RustboroCity_Flat1_2F_Text_21524F, MSGBOX_NPC
RustboroCity_Flat1_2F_EventScript_WaldasMom:: @ 821523D
msgbox RustboroCity_Flat1_2F_Text_ComingUpWithMealsIsHard, MSGBOX_NPC
end
RustboroCity_Flat1_2F_EventScript_215246:: @ 8215246
msgbox RustboroCity_Flat1_2F_Text_215923, MSGBOX_SIGN
RustboroCity_Flat1_2F_EventScript_PokeDoll:: @ 8215246
msgbox RustboroCity_Flat1_2F_Text_ItsAPokemonPlushDoll, MSGBOX_SIGN
end
RustboroCity_Flat1_2F_Text_21524F: @ 821524F
RustboroCity_Flat1_2F_Text_ComingUpWithMealsIsHard: @ 821524F
.string "Oh, it's so hard every day…\p"
.string "What's hard?\n"
.string "You need to ask?\p"
@@ -93,7 +93,7 @@ RustboroCity_Flat1_2F_Text_21524F: @ 821524F
.string "It really isn't easy coming up with\n"
.string "meals every day.$"
RustboroCity_Flat1_2F_Text_2152FA: @ 82152FA
RustboroCity_Flat1_2F_Text_HelloDoYouKnowFunnyPhrase: @ 82152FA
.string "Oh, hello!\n"
.string "Welcome to the PEPPER household.\p"
.string "I have a question for you.\n"
@@ -107,62 +107,62 @@ RustboroCity_Flat1_2F_Text_2152FA: @ 82152FA
.string "Do you know of a funny word or\n"
.string "phrase you can tell me?$"
RustboroCity_Flat1_2F_Text_215448: @ 8215448
RustboroCity_Flat1_2F_Text_BeenSayingXDoYouKnowBetterPhrase: @ 8215448
.string "I've been saying “{STR_VAR_1}”\n"
.string "to amuse her lately.\p"
.string "Do you know of a better word or\n"
.string "a phrase that might work?$"
RustboroCity_Flat1_2F_Text_2154AD: @ 82154AD
RustboroCity_Flat1_2F_Text_WonderfulLetsHearSuggestion: @ 82154AD
.string "Oh, that's wonderful.\n"
.string "So, let's hear it, your suggestion.$"
RustboroCity_Flat1_2F_Text_2154E7: @ 82154E7
RustboroCity_Flat1_2F_Text_OhIsThatRight: @ 82154E7
.string "Oh, is that right?\p"
.string "Well, if you come up with a good\n"
.string "suggestion, I'm all ears.$"
RustboroCity_Flat1_2F_Text_215535: @ 8215535
RustboroCity_Flat1_2F_Text_LetsGiveItATry2: @ 8215535
.string "Ah, I see.\n"
.string "Well, let's give it a try, shall we?$"
RustboroCity_Flat1_2F_Text_215565: @ 8215565
RustboroCity_Flat1_2F_Text_OhShesLaughing: @ 8215565
.string "{STR_VAR_1}.\n"
.string "{STR_VAR_1}.\p"
.string "Oh, yes! She's laughing!\n"
.string "Oh, I am as delighted as she!$"
RustboroCity_Flat1_2F_Text_2155A4: @ 82155A4
RustboroCity_Flat1_2F_Text_LetsGiveItATry: @ 82155A4
.string "Ah, I see.\n"
.string "Well, let's give it a try, shall we?$"
RustboroCity_Flat1_2F_Text_2155D4: @ 82155D4
RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll: @ 82155D4
.string "{STR_VAR_1}.\n"
.string "{STR_VAR_1}.\p"
.string "Hmmm… She's not smiling at all.\n"
.string "Maybe WALDA is one serious child…$"
RustboroCity_Flat1_2F_Text_21561E: @ 821561E
RustboroCity_Flat1_2F_Text_ThinkOfMyOwnPhrase: @ 821561E
.string "Oh, so you don't know any good words.\n"
.string "I'd better think for myself, then.\p"
.string "Hmm…\n"
.string "How about “{STR_VAR_1}”?\l"
.string "Let's see if that will work.$"
RustboroCity_Flat1_2F_Text_215699: @ 8215699
RustboroCity_Flat1_2F_Text_ShesNotSmilingAtAll2: @ 8215699
.string "{STR_VAR_1}.\n"
.string "{STR_VAR_1}.\p"
.string "Hmmm… She's not smiling at all.\n"
.string "Maybe WALDA is one serious child…$"
RustboroCity_Flat1_2F_Text_2156E3: @ 82156E3
RustboroCity_Flat1_2F_Text_OhYouDontKnowAny: @ 82156E3
.string "Oh, so you don't know any good words.\n"
.string "I guess I'll try to amuse her with\l"
.string "the saying I used before.\p"
.string "Anyways, if you have a good suggestion,\n"
.string "don't hesitate in telling me, okay?$"
RustboroCity_Flat1_2F_Text_215792: @ 8215792
RustboroCity_Flat1_2F_Text_ThankYouIllGiveYouWallpaper: @ 8215792
.string "Thank you!\p"
.string "Thanks to you, my darling WALDA\n"
.string "laughed for me!\p"
@@ -179,6 +179,6 @@ RustboroCity_Flat1_2F_Text_215792: @ 8215792
.string "That will give you access to the new\n"
.string "wallpaper patterns.$"
RustboroCity_Flat1_2F_Text_215923: @ 8215923
RustboroCity_Flat1_2F_Text_ItsAPokemonPlushDoll: @ 8215923
.string "It's a POKéMON plush DOLL!$"