2018-12-31 21:32:04 +00:00
|
|
|
MomPhoneCalleeScript:
|
2018-12-30 22:15:52 +00:00
|
|
|
checkevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
|
2020-10-04 23:43:28 +00:00
|
|
|
iftrue .started_quest
|
2018-12-30 22:15:52 +00:00
|
|
|
checkevent EVENT_DUDE_TALKED_TO_YOU
|
|
|
|
iftrue MomPhoneLectureScript
|
|
|
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
|
|
|
iftrue MomPhoneNoGymQuestScript
|
|
|
|
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
|
|
|
|
iftrue MomPhoneNoPokedexScript
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneNoPokemonScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
2020-10-04 23:43:28 +00:00
|
|
|
.started_quest
|
2018-12-30 22:15:52 +00:00
|
|
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_8
|
|
|
|
iftrue MomPhoneHangUpScript
|
|
|
|
farwritetext MomPhoneGreetingText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 19:31:59 +00:00
|
|
|
getcurlandmarkname STRING_BUFFER_3
|
|
|
|
readvar VAR_ROOFPALETTE
|
2018-12-30 22:15:52 +00:00
|
|
|
ifequal 1, MomPhonePalette1
|
|
|
|
ifequal 2, MomPhonePalette2
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneOther
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
MomPhoneLandmark:
|
|
|
|
farwritetext MomPhoneLandmarkText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomSavingMoney
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
MomPhonePalette1:
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_MAPGROUP
|
2018-12-30 22:15:52 +00:00
|
|
|
ifequal GROUP_NEW_BARK_TOWN, .newbark
|
|
|
|
ifequal GROUP_CHERRYGROVE_CITY, .cherrygrove
|
|
|
|
ifequal GROUP_VIOLET_CITY, .violet
|
|
|
|
ifequal GROUP_AZALEA_TOWN, .azalea
|
|
|
|
ifequal GROUP_GOLDENROD_CITY, .goldenrod
|
|
|
|
farwritetext MomPhoneGenericAreaText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomSavingMoney
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.newbark
|
|
|
|
farwritetext MomPhoneNewBarkText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomSavingMoney
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.cherrygrove
|
|
|
|
farwritetext MomPhoneCherrygroveText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomSavingMoney
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.violet
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_4, LANDMARK_SPROUT_TOWER
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneLandmark
|
2018-12-30 22:15:52 +00:00
|
|
|
.azalea
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_4, LANDMARK_SLOWPOKE_WELL
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneLandmark
|
2018-12-30 22:15:52 +00:00
|
|
|
.goldenrod
|
2020-03-15 21:26:10 +00:00
|
|
|
getlandmarkname STRING_BUFFER_4, LANDMARK_RADIO_TOWER
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneLandmark
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
MomPhonePalette2:
|
|
|
|
farwritetext MomOtherAreaText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomSavingMoney
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
MomPhoneOther:
|
|
|
|
farwritetext MomDeterminedText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomSavingMoney
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
MomSavingMoney:
|
|
|
|
checkflag ENGINE_MOM_SAVING_MONEY
|
|
|
|
iffalse .NotSaving
|
|
|
|
checkmoney MOMS_MONEY, 0
|
|
|
|
ifequal HAVE_MORE, .SavingHasMoney
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .SavingNoMoney
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.NotSaving:
|
|
|
|
checkmoney MOMS_MONEY, 0
|
|
|
|
ifequal HAVE_MORE, .HasMoney
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .NoMoney
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.SavingHasMoney:
|
2019-03-10 19:31:59 +00:00
|
|
|
getmoney STRING_BUFFER_3, MOMS_MONEY
|
2018-12-30 22:15:52 +00:00
|
|
|
farwritetext MomCheckBalanceText
|
|
|
|
yesorno
|
|
|
|
iftrue MomPhoneSaveMoneyScript
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneWontSaveMoneyScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.SavingNoMoney:
|
|
|
|
farwritetext MomImportantToSaveText
|
|
|
|
yesorno
|
|
|
|
iftrue MomPhoneSaveMoneyScript
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneWontSaveMoneyScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.NoMoney:
|
|
|
|
farwritetext MomYoureNotSavingText
|
|
|
|
yesorno
|
|
|
|
iftrue MomPhoneSaveMoneyScript
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneWontSaveMoneyScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
.HasMoney:
|
2019-03-10 19:31:59 +00:00
|
|
|
getmoney STRING_BUFFER_3, MOMS_MONEY
|
2018-12-30 22:15:52 +00:00
|
|
|
farwritetext MomYouveSavedText
|
|
|
|
yesorno
|
|
|
|
iftrue MomPhoneSaveMoneyScript
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneWontSaveMoneyScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
MomPhoneSaveMoneyScript:
|
|
|
|
setflag ENGINE_MOM_SAVING_MONEY
|
|
|
|
farwritetext MomOKIllSaveText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneHangUpScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
MomPhoneWontSaveMoneyScript:
|
|
|
|
clearflag ENGINE_MOM_SAVING_MONEY
|
|
|
|
farwritetext MomPhoneWontSaveMoneyText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneHangUpScript
|
2018-12-30 22:15:52 +00:00
|
|
|
|
|
|
|
MomPhoneHangUpScript:
|
|
|
|
farwritetext MomPhoneHangUpText
|
|
|
|
end
|
|
|
|
|
|
|
|
MomPhoneNoPokemonScript:
|
|
|
|
farwritetext MomPhoneNoPokemonText
|
|
|
|
end
|
|
|
|
|
|
|
|
MomPhoneNoPokedexScript:
|
|
|
|
farwritetext MomPhoneNoPokedexText
|
|
|
|
end
|
|
|
|
|
|
|
|
MomPhoneNoGymQuestScript:
|
|
|
|
farwritetext MomPhoneNoGymQuestText
|
|
|
|
end
|
|
|
|
|
|
|
|
MomPhoneLectureScript:
|
|
|
|
setevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
|
|
|
|
setflag ENGINE_MOM_ACTIVE
|
|
|
|
specialphonecall SPECIALCALL_NONE
|
|
|
|
farwritetext MomPhoneLectureText
|
|
|
|
yesorno
|
|
|
|
iftrue MomPhoneSaveMoneyScript
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump MomPhoneWontSaveMoneyScript
|