2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_MapScripts::
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_EventScript_Woman::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-07 15:41:59 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_COIN_CASE, MauvilleCity_House2_EventScript_ReceivedCoinCase
|
|
|
|
msgbox MauvilleCity_House2_Text_BuyHarborMailAtSlateport, MSGBOX_DEFAULT
|
2021-08-05 18:46:11 +02:00
|
|
|
checkitem ITEM_HARBOR_MAIL
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_eq VAR_RESULT, TRUE, MauvilleCity_House2_EventScript_AskToTradeForHarborMail
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_EventScript_AskToTradeForHarborMail::
|
2017-11-10 02:21:31 +01:00
|
|
|
playse SE_PIN
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_ExclamationMark
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_Delay48
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 15:41:59 +01:00
|
|
|
msgbox MauvilleCity_House2_Text_TradeHarborMailForCoinCase, MSGBOX_YESNO
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_eq VAR_RESULT, YES, MauvilleCity_House2_EventScript_AcceptTrade
|
|
|
|
goto_if_eq VAR_RESULT, NO, MauvilleCity_House2_EventScript_DeclineTrade
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_EventScript_AcceptTrade::
|
2019-11-07 15:41:59 +01:00
|
|
|
msgbox MauvilleCity_House2_Text_IllTradeYouCoinCase, MSGBOX_DEFAULT
|
2020-01-13 05:28:38 +01:00
|
|
|
removeitem ITEM_HARBOR_MAIL
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_COIN_CASE
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RECEIVED_COIN_CASE
|
2019-11-07 15:41:59 +01:00
|
|
|
goto MauvilleCity_House2_EventScript_ReceivedCoinCase
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_EventScript_ReceivedCoinCase::
|
2019-11-07 15:41:59 +01:00
|
|
|
msgbox MauvilleCity_House2_Text_UseCoinCaseAtGameCorner, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_EventScript_DeclineTrade::
|
2019-11-07 15:41:59 +01:00
|
|
|
msgbox MauvilleCity_House2_Text_ThatsDisappointing, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_Text_BuyHarborMailAtSlateport:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "If I had a BIKE, it'd be easy to cycle to\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "SLATEPORT for some shopping.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'd be able to buy HARBOR MAIL at the\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "POKéMON MART in SLATEPORT…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_Text_TradeHarborMailForCoinCase:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Oh! You have HARBOR MAIL?\n"
|
|
|
|
.string "Will you trade it for a COIN CASE?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_Text_IllTradeYouCoinCase:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Oh, I'm so happy!\n"
|
|
|
|
.string "Okay, I'll trade you a COIN CASE!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_Text_UseCoinCaseAtGameCorner:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "That COIN CASE can be used\n"
|
|
|
|
.string "at the GAME CORNER.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
MauvilleCity_House2_Text_ThatsDisappointing:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Oh, that's disappointing.\p"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "A COIN CASE is needed for the\n"
|
|
|
|
.string "GAME CORNER.$"
|
|
|
|
|