Merge pull request #274 from GriffinRichards/doc-fourisland
Document Four Island scripts, trainer_card.inc, sync trainer_card.c
This commit is contained in:
@@ -27,11 +27,11 @@ EventScript_1ACDB5:: @ 81ACDB5
|
||||
release
|
||||
end
|
||||
|
||||
FourIsland_PokemonCenter_1F_EventScript_1ACDD0:: @ 81ACDD0
|
||||
FourIsland_PokemonCenter_1F_EventScript_PokemonJournal:: @ 81ACDD0
|
||||
lockall
|
||||
famechecker FAMECHECKER_DAISY, 5
|
||||
textcolor 3
|
||||
msgbox gUnknown_81B1B3D
|
||||
msgbox PokemonJournal_Text_SpecialFeatureDaisyOak
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -143,11 +143,11 @@ FiveIsland_ResortGorgeous_House_EventScript_1ACF2C:: @ 81ACF2C
|
||||
releaseall
|
||||
end
|
||||
|
||||
FourIsland_Mart_EventScript_1ACF46:: @ 81ACF46
|
||||
FourIsland_Mart_EventScript_OldMan:: @ 81ACF46
|
||||
lock
|
||||
faceplayer
|
||||
famechecker FAMECHECKER_LORELEI, 2
|
||||
msgbox Text_1A3A60
|
||||
msgbox FourIsland_Mart_Text_LoreleiGrewUpOnThisIsland
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
+164
-172
@@ -1,79 +1,79 @@
|
||||
CeladonCity_GameCorner_EventScript_PhotoPrinter:: @ 81B2867
|
||||
lockall
|
||||
showmoneybox 0, 0, 0
|
||||
msgbox gUnknown_81B1D7D, MSGBOX_YESNO
|
||||
msgbox CeladonCity_GameCorner_Text_TryPokemonPrinter, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_1B2926
|
||||
goto_if_eq CeladonCity_GameCorner_EventScript_DeclinePhoto
|
||||
checkmoney 50, 0
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_1B292B
|
||||
goto_if_eq CeladonCity_GameCorner_EventScript_NotEnoughMoneyForPhoto
|
||||
playse SE_SHOP
|
||||
removemoney 50, 0
|
||||
updatemoneybox 0, 0, 0
|
||||
waitse
|
||||
message gUnknown_81B1E24
|
||||
message CeladonCity_GameCorner_Text_ChoosePrintType
|
||||
waitmessage
|
||||
multichoice 21, 0, MULTICHOICE_TRAINER_CARD_ICON_TINT, TRUE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_1B28DB
|
||||
case 1, EventScript_1B28E6
|
||||
case 2, EventScript_1B28F1
|
||||
case 3, EventScript_1B28FC
|
||||
case 0, CeladonCity_GameCorner_EventScript_PrintTypeNormal
|
||||
case 1, CeladonCity_GameCorner_EventScript_PrintTypeBlack
|
||||
case 2, CeladonCity_GameCorner_EventScript_PrintTypePink
|
||||
case 3, CeladonCity_GameCorner_EventScript_PrintTypeSepia
|
||||
end
|
||||
|
||||
EventScript_1B28DB:: @ 81B28DB
|
||||
setvar VAR_0x8004, 0
|
||||
goto EventScript_1B2907
|
||||
CeladonCity_GameCorner_EventScript_PrintTypeNormal:: @ 81B28DB
|
||||
setvar VAR_0x8004, MON_ICON_TINT_NORMAL
|
||||
goto CeladonCity_GameCorner_EventScript_PrintPhoto
|
||||
end
|
||||
|
||||
EventScript_1B28E6:: @ 81B28E6
|
||||
setvar VAR_0x8004, 1
|
||||
goto EventScript_1B2907
|
||||
CeladonCity_GameCorner_EventScript_PrintTypeBlack:: @ 81B28E6
|
||||
setvar VAR_0x8004, MON_ICON_TINT_BLACK
|
||||
goto CeladonCity_GameCorner_EventScript_PrintPhoto
|
||||
end
|
||||
|
||||
EventScript_1B28F1:: @ 81B28F1
|
||||
setvar VAR_0x8004, 2
|
||||
goto EventScript_1B2907
|
||||
CeladonCity_GameCorner_EventScript_PrintTypePink:: @ 81B28F1
|
||||
setvar VAR_0x8004, MON_ICON_TINT_PINK
|
||||
goto CeladonCity_GameCorner_EventScript_PrintPhoto
|
||||
end
|
||||
|
||||
EventScript_1B28FC:: @ 81B28FC
|
||||
setvar VAR_0x8004, 3
|
||||
goto EventScript_1B2907
|
||||
CeladonCity_GameCorner_EventScript_PrintTypeSepia:: @ 81B28FC
|
||||
setvar VAR_0x8004, MON_ICON_TINT_SEPIA
|
||||
goto CeladonCity_GameCorner_EventScript_PrintPhoto
|
||||
end
|
||||
|
||||
EventScript_1B2907:: @ 81B2907
|
||||
message gUnknown_81B1E42
|
||||
CeladonCity_GameCorner_EventScript_PrintPhoto:: @ 81B2907
|
||||
message CeladonCity_GameCorner_Text_BigSmileForPhoto
|
||||
waitmessage
|
||||
playse MUS_ME_PHOTO
|
||||
dofieldeffect FLDEFF_UNK_45
|
||||
delay 60
|
||||
special Special_UpdateTrainerCardPhotoIcons
|
||||
msgbox gUnknown_81B1E7D
|
||||
msgbox CeladonCity_GameCorner_Text_PrintIsReadyCheckTrainerCard
|
||||
hidemoneybox 0, 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_1B2926:: @ 81B2926
|
||||
CeladonCity_GameCorner_EventScript_DeclinePhoto:: @ 81B2926
|
||||
hidemoneybox 0, 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_1B292B:: @ 81B292B
|
||||
msgbox gUnknown_81B1E07
|
||||
CeladonCity_GameCorner_EventScript_NotEnoughMoneyForPhoto:: @ 81B292B
|
||||
msgbox CeladonCity_GameCorner_Text_DontHaveEnoughMoney
|
||||
hidemoneybox 0, 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
FourIsland_House2_EventScript_1B2938:: @ 81B2938
|
||||
FourIsland_House2_EventScript_StickerMan:: @ 81B2938
|
||||
lock
|
||||
specialvar VAR_0x8008, Special_StickerLadyGetBragFlags
|
||||
goto_if_unset FLAG_MET_STICKER_LADY, EventScript_1B2951
|
||||
goto_if_set FLAG_MET_STICKER_LADY, EventScript_1B2994
|
||||
specialvar VAR_0x8008, StickerManGetBragFlags
|
||||
goto_if_unset FLAG_MET_STICKER_MAN, FourIsland_House2_EventScript_MeetStickerMan
|
||||
goto_if_set FLAG_MET_STICKER_MAN, EventScript_1B2994
|
||||
end
|
||||
|
||||
EventScript_1B2951:: @ 81B2951
|
||||
setflag FLAG_MET_STICKER_LADY
|
||||
msgbox gUnknown_81B1EB3
|
||||
FourIsland_House2_EventScript_MeetStickerMan:: @ 81B2951
|
||||
setflag FLAG_MET_STICKER_MAN
|
||||
msgbox FourIsland_House2_Text_WishICouldShowOffStickers
|
||||
applymovement 1, Movement_FacePlayer
|
||||
waitmovement 0
|
||||
playse SE_PIN
|
||||
@@ -82,10 +82,10 @@ EventScript_1B2951:: @ 81B2951
|
||||
applymovement 1, Movement_Delay48
|
||||
waitmovement 0
|
||||
compare VAR_0x8008, 0
|
||||
goto_if_eq EventScript_1B2B8E
|
||||
message gUnknown_81B1EF8
|
||||
goto_if_eq FourIsland_House2_EventScript_StickerManNothingToBrag
|
||||
message FourIsland_House2_Text_GiveYouStickerIfYouBrag
|
||||
waitmessage
|
||||
goto EventScript_1B29D0
|
||||
goto FourIsland_House2_EventScript_ChooseBrag
|
||||
end
|
||||
|
||||
EventScript_1B2994:: @ 81B2994
|
||||
@@ -95,290 +95,282 @@ EventScript_1B2994:: @ 81B2994
|
||||
special sub_8112364
|
||||
compare VAR_0x8008, 0
|
||||
goto_if_eq EventScript_1B29C6
|
||||
message gUnknown_81B2025
|
||||
message FourIsland_House2_Text_BragAboutWhatToday
|
||||
waitmessage
|
||||
goto EventScript_1B29D0
|
||||
goto FourIsland_House2_EventScript_ChooseBrag
|
||||
end
|
||||
|
||||
EventScript_1B29C6:: @ 81B29C6
|
||||
msgbox gUnknown_81B1FEF
|
||||
msgbox FourIsland_House2_Text_BragAboutSomethingForMe
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B29D0:: @ 81B29D0
|
||||
FourIsland_House2_EventScript_ChooseBrag:: @ 81B29D0
|
||||
switch VAR_0x8008
|
||||
case 1, EventScript_1B2A23
|
||||
case 2, EventScript_1B2A4F
|
||||
case 4, EventScript_1B2A7B
|
||||
case 3, EventScript_1B2AA7
|
||||
case 5, EventScript_1B2ADE
|
||||
case 6, EventScript_1B2B15
|
||||
case 7, EventScript_1B2B4C
|
||||
case 1, FourIsland_House2_EventScript_ChooseBragHoF
|
||||
case 2, FourIsland_House2_EventScript_ChooseBragEggs
|
||||
case 4, FourIsland_House2_EventScript_ChooseBragLinkWins
|
||||
case 3, FourIsland_House2_EventScript_ChooseBragHoFEggs
|
||||
case 5, FourIsland_House2_EventScript_ChooseBragHoFLinkWins
|
||||
case 6, FourIsland_House2_EventScript_ChooseBragEggsLinkWins
|
||||
case 7, FourIsland_House2_EventScript_ChooseBragHofEggsLinkWins
|
||||
end
|
||||
|
||||
EventScript_1B2A23:: @ 81B2A23
|
||||
FourIsland_House2_EventScript_ChooseBragHoF:: @ 81B2A23
|
||||
multichoice 15, 8, MULTICHOICE_HOF_QUIT, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_1B2B98
|
||||
case 1, EventScript_1B2DF6
|
||||
case SCR_MENU_CANCEL, EventScript_1B2DF6
|
||||
case 0, FourIsland_House2_EventScript_BragHoF
|
||||
case 1, FourIsland_House2_EventScript_QuitBrag
|
||||
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
|
||||
end
|
||||
|
||||
EventScript_1B2A4F:: @ 81B2A4F
|
||||
FourIsland_House2_EventScript_ChooseBragEggs:: @ 81B2A4F
|
||||
multichoice 16, 8, MULTICHOICE_EGGS_QUIT, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_1B2C62
|
||||
case 1, EventScript_1B2DF6
|
||||
case SCR_MENU_CANCEL, EventScript_1B2DF6
|
||||
case 0, FourIsland_House2_EventScript_BragEggs
|
||||
case 1, FourIsland_House2_EventScript_QuitBrag
|
||||
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
|
||||
end
|
||||
|
||||
EventScript_1B2A7B:: @ 81B2A7B
|
||||
FourIsland_House2_EventScript_ChooseBragLinkWins:: @ 81B2A7B
|
||||
multichoice 15, 8, MULTICHOICE_VICTORIES_QUIT, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_1B2D2C
|
||||
case 1, EventScript_1B2DF6
|
||||
case SCR_MENU_CANCEL, EventScript_1B2DF6
|
||||
case 0, FourIsland_House2_EventScript_BragLinkWins
|
||||
case 1, FourIsland_House2_EventScript_QuitBrag
|
||||
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
|
||||
end
|
||||
|
||||
EventScript_1B2AA7:: @ 81B2AA7
|
||||
FourIsland_House2_EventScript_ChooseBragHoFEggs:: @ 81B2AA7
|
||||
multichoice 15, 6, MULTICHOICE_HOF_EGGS_QUIT, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_1B2B98
|
||||
case 1, EventScript_1B2C62
|
||||
case 2, EventScript_1B2DF6
|
||||
case SCR_MENU_CANCEL, EventScript_1B2DF6
|
||||
case 0, FourIsland_House2_EventScript_BragHoF
|
||||
case 1, FourIsland_House2_EventScript_BragEggs
|
||||
case 2, FourIsland_House2_EventScript_QuitBrag
|
||||
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
|
||||
end
|
||||
|
||||
EventScript_1B2ADE:: @ 81B2ADE
|
||||
FourIsland_House2_EventScript_ChooseBragHoFLinkWins:: @ 81B2ADE
|
||||
multichoice 15, 6, MULTICHOICE_HOF_VICTORIES_QUIT, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_1B2B98
|
||||
case 1, EventScript_1B2D2C
|
||||
case 2, EventScript_1B2DF6
|
||||
case SCR_MENU_CANCEL, EventScript_1B2DF6
|
||||
case 0, FourIsland_House2_EventScript_BragHoF
|
||||
case 1, FourIsland_House2_EventScript_BragLinkWins
|
||||
case 2, FourIsland_House2_EventScript_QuitBrag
|
||||
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
|
||||
end
|
||||
|
||||
EventScript_1B2B15:: @ 81B2B15
|
||||
FourIsland_House2_EventScript_ChooseBragEggsLinkWins:: @ 81B2B15
|
||||
multichoice 15, 6, MULTICHOICE_EGGS_VICTORIES_QUIT, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_1B2C62
|
||||
case 1, EventScript_1B2D2C
|
||||
case 2, EventScript_1B2DF6
|
||||
case SCR_MENU_CANCEL, EventScript_1B2DF6
|
||||
case 0, FourIsland_House2_EventScript_BragEggs
|
||||
case 1, FourIsland_House2_EventScript_BragLinkWins
|
||||
case 2, FourIsland_House2_EventScript_QuitBrag
|
||||
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
|
||||
end
|
||||
|
||||
EventScript_1B2B4C:: @ 81B2B4C
|
||||
FourIsland_House2_EventScript_ChooseBragHofEggsLinkWins:: @ 81B2B4C
|
||||
multichoice 15, 5, MULTICHOICE_HOF_EGGS_VICTORIES_QUIT, FALSE
|
||||
switch VAR_RESULT
|
||||
case 0, EventScript_1B2B98
|
||||
case 1, EventScript_1B2C62
|
||||
case 2, EventScript_1B2D2C
|
||||
case 3, EventScript_1B2DF6
|
||||
case SCR_MENU_CANCEL, EventScript_1B2DF6
|
||||
case 0, FourIsland_House2_EventScript_BragHoF
|
||||
case 1, FourIsland_House2_EventScript_BragEggs
|
||||
case 2, FourIsland_House2_EventScript_BragLinkWins
|
||||
case 3, FourIsland_House2_EventScript_QuitBrag
|
||||
case SCR_MENU_CANCEL, FourIsland_House2_EventScript_QuitBrag
|
||||
end
|
||||
|
||||
EventScript_1B2B8E:: @ 81B2B8E
|
||||
msgbox gUnknown_81B1EF8
|
||||
FourIsland_House2_EventScript_StickerManNothingToBrag:: @ 81B2B8E
|
||||
msgbox FourIsland_House2_Text_GiveYouStickerIfYouBrag
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2B98:: @ 81B2B98
|
||||
FourIsland_House2_EventScript_BragHoF:: @ 81B2B98
|
||||
compare VAR_0x8004, 39
|
||||
goto_if_le EventScript_1B2BC5
|
||||
goto_if_le FourIsland_House2_EventScript_BragHoFLowest
|
||||
compare VAR_0x8004, 99
|
||||
goto_if_le EventScript_1B2BE3
|
||||
goto_if_le FourIsland_House2_EventScript_BragHoFLow
|
||||
compare VAR_0x8004, 199
|
||||
goto_if_le EventScript_1B2C01
|
||||
goto_if_le FourIsland_House2_EventScript_BragHoFHigh
|
||||
compare VAR_0x8004, 200
|
||||
goto_if_ge EventScript_1B2C1F
|
||||
goto_if_ge FourIsland_House2_EventScript_BragHoFHighest
|
||||
end
|
||||
|
||||
EventScript_1B2BC5:: @ 81B2BC5
|
||||
FourIsland_House2_EventScript_BragHoFLowest:: @ 81B2BC5
|
||||
compare VAR_HOF_BRAG_STATE, 1
|
||||
goto_if_eq EventScript_1B2C3D
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedHoF
|
||||
setvar VAR_HOF_BRAG_STATE, 1
|
||||
msgbox gUnknown_81B206E
|
||||
goto EventScript_1B2C51
|
||||
|
||||
EventScript_1B2BE2:: @ 81B2BE2
|
||||
msgbox FourIsland_House2_Text_WowHoFLowest
|
||||
goto FourIsland_House2_EventScript_BraggedHoF
|
||||
end
|
||||
|
||||
EventScript_1B2BE3:: @ 81B2BE3
|
||||
FourIsland_House2_EventScript_BragHoFLow:: @ 81B2BE3
|
||||
compare VAR_HOF_BRAG_STATE, 2
|
||||
goto_if_eq EventScript_1B2C3D
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedHoF
|
||||
setvar VAR_HOF_BRAG_STATE, 2
|
||||
msgbox gUnknown_81B20CF
|
||||
goto EventScript_1B2C51
|
||||
|
||||
EventScript_1B2C00:: @ 81B2C00
|
||||
msgbox FourIsland_House2_Text_WowHoFLow
|
||||
goto FourIsland_House2_EventScript_BraggedHoF
|
||||
end
|
||||
|
||||
EventScript_1B2C01:: @ 81B2C01
|
||||
FourIsland_House2_EventScript_BragHoFHigh:: @ 81B2C01
|
||||
compare VAR_HOF_BRAG_STATE, 3
|
||||
goto_if_eq EventScript_1B2C3D
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedHoF
|
||||
setvar VAR_HOF_BRAG_STATE, 3
|
||||
msgbox gUnknown_81B2133
|
||||
goto EventScript_1B2C51
|
||||
|
||||
EventScript_1B2C1E:: @ 81B2C1E
|
||||
msgbox FourIsland_House2_Text_WowHoFHigh
|
||||
goto FourIsland_House2_EventScript_BraggedHoF
|
||||
end
|
||||
|
||||
EventScript_1B2C1F:: @ 81B2C1F
|
||||
FourIsland_House2_EventScript_BragHoFHighest:: @ 81B2C1F
|
||||
compare VAR_HOF_BRAG_STATE, 4
|
||||
goto_if_eq EventScript_1B2C47
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedHoFMax
|
||||
setvar VAR_HOF_BRAG_STATE, 4
|
||||
msgbox gUnknown_81B21C4
|
||||
goto EventScript_1B2C51
|
||||
|
||||
EventScript_1B2C3C:: @ 81B2C3C
|
||||
msgbox FourIsland_House2_Text_WowHoFHighest
|
||||
goto FourIsland_House2_EventScript_BraggedHoF
|
||||
end
|
||||
|
||||
EventScript_1B2C3D:: @ 81B2C3D
|
||||
msgbox gUnknown_81B227C
|
||||
FourIsland_House2_EventScript_AlreadyBraggedHoF:: @ 81B2C3D
|
||||
msgbox FourIsland_House2_Text_ComeBackWithBetterStoryHoF
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2C47:: @ 81B2C47
|
||||
msgbox gUnknown_81B22B0
|
||||
FourIsland_House2_EventScript_AlreadyBraggedHoFMax:: @ 81B2C47
|
||||
msgbox FourIsland_House2_Text_LivingLegendHoF
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2C51:: @ 81B2C51
|
||||
FourIsland_House2_EventScript_BraggedHoF:: @ 81B2C51
|
||||
textcolor 3
|
||||
playfanfare MUS_FANFA1
|
||||
message gUnknown_81B2242
|
||||
message FourIsland_House2_Text_HoFStickerApplied
|
||||
waitmessage
|
||||
waitfanfare
|
||||
delay 90
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2C62:: @ 81B2C62
|
||||
FourIsland_House2_EventScript_BragEggs:: @ 81B2C62
|
||||
compare VAR_0x8005, 99
|
||||
goto_if_le EventScript_1B2C8F
|
||||
goto_if_le FourIsland_House2_EventScript_BragEggsLowest
|
||||
compare VAR_0x8005, 199
|
||||
goto_if_le EventScript_1B2CAD
|
||||
goto_if_le FourIsland_House2_EventScript_BragEggsLow
|
||||
compare VAR_0x8005, 299
|
||||
goto_if_le EventScript_1B2CCB
|
||||
goto_if_le FourIsland_House2_EventScript_BragEggsHigh
|
||||
compare VAR_0x8005, 300
|
||||
goto_if_ge EventScript_1B2CE9
|
||||
goto_if_ge FourIsland_House2_EventScript_BragEggsHighest
|
||||
end
|
||||
|
||||
EventScript_1B2C8F:: @ 81B2C8F
|
||||
FourIsland_House2_EventScript_BragEggsLowest:: @ 81B2C8F
|
||||
compare VAR_EGG_BRAG_STATE, 1
|
||||
goto_if_eq EventScript_1B2D07
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedEggs
|
||||
setvar VAR_EGG_BRAG_STATE, 1
|
||||
msgbox gUnknown_81B2308
|
||||
goto EventScript_1B2D1B
|
||||
msgbox FourIsland_House2_Text_WowEggsLowest
|
||||
goto FourIsland_House2_EventScript_BraggedEggs
|
||||
end
|
||||
|
||||
EventScript_1B2CAD:: @ 81B2CAD
|
||||
FourIsland_House2_EventScript_BragEggsLow:: @ 81B2CAD
|
||||
compare VAR_EGG_BRAG_STATE, 2
|
||||
goto_if_eq EventScript_1B2D07
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedEggs
|
||||
setvar VAR_EGG_BRAG_STATE, 2
|
||||
msgbox gUnknown_81B2372
|
||||
goto EventScript_1B2D1B
|
||||
msgbox FourIsland_House2_Text_WowEggsLow
|
||||
goto FourIsland_House2_EventScript_BraggedEggs
|
||||
end
|
||||
|
||||
EventScript_1B2CCB:: @ 81B2CCB
|
||||
FourIsland_House2_EventScript_BragEggsHigh:: @ 81B2CCB
|
||||
compare VAR_EGG_BRAG_STATE, 3
|
||||
goto_if_eq EventScript_1B2D07
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedEggs
|
||||
setvar VAR_EGG_BRAG_STATE, 3
|
||||
msgbox gUnknown_81B23E0
|
||||
goto EventScript_1B2D1B
|
||||
msgbox FourIsland_House2_Text_WowEggsHigh
|
||||
goto FourIsland_House2_EventScript_BraggedEggs
|
||||
end
|
||||
|
||||
EventScript_1B2CE9:: @ 81B2CE9
|
||||
FourIsland_House2_EventScript_BragEggsHighest:: @ 81B2CE9
|
||||
compare VAR_EGG_BRAG_STATE, 4
|
||||
goto_if_eq EventScript_1B2D11
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedEggsMax
|
||||
setvar VAR_EGG_BRAG_STATE, 4
|
||||
msgbox gUnknown_81B2448
|
||||
goto EventScript_1B2D1B
|
||||
msgbox FourIsland_House2_Text_WowEggsHighest
|
||||
goto FourIsland_House2_EventScript_BraggedEggs
|
||||
end
|
||||
|
||||
EventScript_1B2D07:: @ 81B2D07
|
||||
msgbox gUnknown_81B251B
|
||||
FourIsland_House2_EventScript_AlreadyBraggedEggs:: @ 81B2D07
|
||||
msgbox FourIsland_House2_Text_ComeBackWithBetterStoryEggs
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2D11:: @ 81B2D11
|
||||
msgbox gUnknown_81B254F
|
||||
FourIsland_House2_EventScript_AlreadyBraggedEggsMax:: @ 81B2D11
|
||||
msgbox FourIsland_House2_Text_LivingLegendEggs
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2D1B:: @ 81B2D1B
|
||||
FourIsland_House2_EventScript_BraggedEggs:: @ 81B2D1B
|
||||
textcolor 3
|
||||
playfanfare MUS_FANFA1
|
||||
message gUnknown_81B24EA
|
||||
message FourIsland_House2_Text_EggStickerApplied
|
||||
waitmessage
|
||||
waitfanfare
|
||||
delay 90
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2D2C:: @ 81B2D2C
|
||||
FourIsland_House2_EventScript_BragLinkWins:: @ 81B2D2C
|
||||
compare VAR_0x8006, 19
|
||||
goto_if_le EventScript_1B2D59
|
||||
goto_if_le FourIsland_House2_EventScript_BragLinkWinsLowest
|
||||
compare VAR_0x8006, 49
|
||||
goto_if_le EventScript_1B2D77
|
||||
goto_if_le FourIsland_House2_EventScript_BragLinkWinsLow
|
||||
compare VAR_0x8006, 99
|
||||
goto_if_le EventScript_1B2D95
|
||||
goto_if_le FourIsland_House2_EventScript_BragLinkWinsHigh
|
||||
compare VAR_0x8006, 100
|
||||
goto_if_ge EventScript_1B2DB3
|
||||
goto_if_ge FourIsland_House2_EventScript_BragLinkWinsHighest
|
||||
end
|
||||
|
||||
EventScript_1B2D59:: @ 81B2D59
|
||||
FourIsland_House2_EventScript_BragLinkWinsLowest:: @ 81B2D59
|
||||
compare VAR_LINK_WIN_BRAG_STATE, 1
|
||||
goto_if_eq EventScript_1B2DD1
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedLinkWins
|
||||
setvar VAR_LINK_WIN_BRAG_STATE, 1
|
||||
msgbox gUnknown_81B25A7
|
||||
goto EventScript_1B2DE5
|
||||
msgbox FourIsland_House2_Text_WowLinkWinsLowest
|
||||
goto FourIsland_House2_EventScript_BraggedLinkWins
|
||||
end
|
||||
|
||||
EventScript_1B2D77:: @ 81B2D77
|
||||
FourIsland_House2_EventScript_BragLinkWinsLow:: @ 81B2D77
|
||||
compare VAR_LINK_WIN_BRAG_STATE, 2
|
||||
goto_if_eq EventScript_1B2DD1
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedLinkWins
|
||||
setvar VAR_LINK_WIN_BRAG_STATE, 2
|
||||
msgbox gUnknown_81B2609
|
||||
goto EventScript_1B2DE5
|
||||
msgbox FourIsland_House2_Text_WowLinkWinsLow
|
||||
goto FourIsland_House2_EventScript_BraggedLinkWins
|
||||
end
|
||||
|
||||
EventScript_1B2D95:: @ 81B2D95
|
||||
FourIsland_House2_EventScript_BragLinkWinsHigh:: @ 81B2D95
|
||||
compare VAR_LINK_WIN_BRAG_STATE, 3
|
||||
goto_if_eq EventScript_1B2DD1
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedLinkWins
|
||||
setvar VAR_LINK_WIN_BRAG_STATE, 3
|
||||
msgbox gUnknown_81B267B
|
||||
goto EventScript_1B2DE5
|
||||
msgbox FourIsland_House2_Text_WowLinkWinsHigh
|
||||
goto FourIsland_House2_EventScript_BraggedLinkWins
|
||||
end
|
||||
|
||||
EventScript_1B2DB3:: @ 81B2DB3
|
||||
FourIsland_House2_EventScript_BragLinkWinsHighest:: @ 81B2DB3
|
||||
compare VAR_LINK_WIN_BRAG_STATE, 4
|
||||
goto_if_eq EventScript_1B2DDB
|
||||
goto_if_eq FourIsland_House2_EventScript_AlreadyBraggedLinkWinsMax
|
||||
setvar VAR_LINK_WIN_BRAG_STATE, 4
|
||||
msgbox gUnknown_81B26F6
|
||||
goto EventScript_1B2DE5
|
||||
msgbox FourIsland_House2_Text_WowLinkWinsHighest
|
||||
goto FourIsland_House2_EventScript_BraggedLinkWins
|
||||
end
|
||||
|
||||
EventScript_1B2DD1:: @ 81B2DD1
|
||||
msgbox gUnknown_81B27DB
|
||||
FourIsland_House2_EventScript_AlreadyBraggedLinkWins:: @ 81B2DD1
|
||||
msgbox FourIsland_House2_Text_ComeBackWithBetterStoryLinkWins
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2DDB:: @ 81B2DDB
|
||||
msgbox gUnknown_81B280F
|
||||
FourIsland_House2_EventScript_AlreadyBraggedLinkWinsMax:: @ 81B2DDB
|
||||
msgbox FourIsland_House2_Text_LivingLegendLinkWins
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2DE5:: @ 81B2DE5
|
||||
FourIsland_House2_EventScript_BraggedLinkWins:: @ 81B2DE5
|
||||
textcolor 3
|
||||
playfanfare MUS_FANFA1
|
||||
message gUnknown_81B27A6
|
||||
message FourIsland_House2_Text_VictoryStickerApplied
|
||||
waitmessage
|
||||
waitfanfare
|
||||
delay 90
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1B2DF6:: @ 81B2DF6
|
||||
FourIsland_House2_EventScript_QuitBrag:: @ 81B2DF6
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user