2022-05-19 19:14:13 +02:00
|
|
|
FallarborTown_CozmosHouse_MapScripts::
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_EventScript_ProfCozmo::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
goto_if_set FLAG_RECEIVED_TM27, FallarborTown_CozmosHouse_EventScript_GaveMeteorite
|
|
|
|
checkitem ITEM_METEORITE
|
|
|
|
goto_if_eq VAR_RESULT, TRUE, FallarborTown_CozmosHouse_EventScript_PlayerHasMeteorite
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_MeteoriteWillNeverBeMineNow, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_EventScript_PlayerHasMeteorite::
|
|
|
|
call_if_unset FLAG_TEMP_2, FallarborTown_CozmosHouse_EventScript_NoticeMeteorite
|
|
|
|
call_if_set FLAG_TEMP_2, FallarborTown_CozmosHouse_EventScript_AskForMeteorite
|
|
|
|
goto_if_eq VAR_RESULT, NO, FallarborTown_CozmosHouse_EventScript_DeclineGiveMeteorite
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_PleaseUseThisTM, MSGBOX_DEFAULT
|
|
|
|
giveitem ITEM_TM27
|
|
|
|
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
|
|
|
setvar VAR_0x8004, ITEM_METEORITE
|
|
|
|
call Common_EventScript_PlayerHandedOverTheItem
|
|
|
|
setflag FLAG_RECEIVED_TM27
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_ReallyGoingToHelpMyResearch, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_EventScript_NoticeMeteorite::
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_MeteoriteWillNeverBeMineNow, MSGBOX_DEFAULT
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_IsThatMeteoriteMayIHaveIt, MSGBOX_YESNO
|
|
|
|
return
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_EventScript_AskForMeteorite::
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_MayIHaveMeteorite, MSGBOX_YESNO
|
|
|
|
return
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_EventScript_DeclineGiveMeteorite::
|
|
|
|
setflag FLAG_TEMP_2
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_CrushedWithDisappointment, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_EventScript_GaveMeteorite::
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_ReallyGoingToHelpMyResearch, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_EventScript_CozmosWife::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
goto_if_set FLAG_RECEIVED_TM27, FallarborTown_CozmosHouse_EventScript_CozmoIsHappy
|
|
|
|
goto_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, FallarborTown_CozmosHouse_EventScript_CozmoIsSad
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_CozmoWentToMeteorFalls, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_EventScript_CozmoIsSad::
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_FeelSorryForCozmo, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_EventScript_CozmoIsHappy::
|
|
|
|
msgbox FallarborTown_CozmosHouse_Text_CozmoIsSoHappy, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_Text_MeteoriteWillNeverBeMineNow:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Prof. Cozmo: Oh…\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I never should have let myself be\l"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "conned into telling Team Magma where\l"
|
|
|
|
.string "you can find Meteorites…\p"
|
|
|
|
.string "That Meteorite from Meteor Falls…\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "It's never going to be mine now…$"
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_Text_IsThatMeteoriteMayIHaveIt:
|
|
|
|
.string "Oh!\n"
|
|
|
|
.string "Hah?\p"
|
|
|
|
.string "That item…\p"
|
|
|
|
.string "Could it be?\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Is it the Meteorite that Team Magma\n"
|
|
|
|
.string "took from Meteor Falls?\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "Please, may I have it?\p"
|
|
|
|
.string "I'm not asking for it for free.\n"
|
|
|
|
.string "How about in exchange for this TM?$"
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_Text_PleaseUseThisTM:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Prof. Cozmo: This TM, it represents\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "my feeling of gratitude.\l"
|
|
|
|
.string "Please use it!$"
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_Text_ReallyGoingToHelpMyResearch:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Prof. Cozmo: Oh, I can't believe it.\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "This is really, really great!\p"
|
|
|
|
.string "This is really going to help my research!$"
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_Text_CrushedWithDisappointment:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Prof. Cozmo: Oh, but…\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I'm crushed with disappointment…$"
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_Text_MayIHaveMeteorite:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Prof. Cozmo: Please, may I have that\n"
|
|
|
|
.string "Meteorite?\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "I'm not asking for it for free.\n"
|
|
|
|
.string "How about in exchange for this TM?$"
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_Text_CozmoWentToMeteorFalls:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Prof. Cozmo went off to Meteor Falls\n"
|
|
|
|
.string "on Route 114 with some people from\l"
|
|
|
|
.string "Team Magma.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_Text_FeelSorryForCozmo:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Poor Prof. Cozmo…\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "He's so depressed… I feel sorry for him.$"
|
|
|
|
|
|
|
|
FallarborTown_CozmosHouse_Text_CozmoIsSoHappy:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Look at Prof. Cozmo…\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "He's so happy! I think it's cute.$"
|
|
|
|
|