2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const OLIVINECAFE_SAILOR1
|
|
|
|
const OLIVINECAFE_FISHING_GURU
|
|
|
|
const OLIVINECAFE_SAILOR2
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
OlivineCafe_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
OlivineCafeStrengthSailorScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_HM04_STRENGTH
|
2018-02-28 14:47:31 -08:00
|
|
|
iftrue .GotStrength
|
|
|
|
writetext OlivineCafeStrengthSailorText
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem HM_STRENGTH
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_HM04_STRENGTH
|
2018-02-28 14:47:31 -08:00
|
|
|
.GotStrength:
|
|
|
|
writetext OlivineCafeStrengthSailorText_GotStrength
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
OlivineCafeFishingGuruScript:
|
|
|
|
jumptextfaceplayer OlivineCafeFishingGuruText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
OlivineCafeSailorScript:
|
|
|
|
jumptextfaceplayer OlivineCafeSailorText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
OlivineCafeStrengthSailorText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hah! Your #MON"
|
|
|
|
line "sure look like"
|
|
|
|
cont "lightweights!"
|
|
|
|
|
|
|
|
para "They don't have"
|
|
|
|
line "the power to move"
|
|
|
|
cont "boulders aside."
|
|
|
|
|
|
|
|
para "Here, use this"
|
|
|
|
line "and teach them"
|
|
|
|
cont "STRENGTH!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
OlivineCafeStrengthSailorText_GotStrength:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "On the sea, the"
|
|
|
|
line "only thing you can"
|
|
|
|
|
|
|
|
para "count on is your"
|
|
|
|
line "own good self!"
|
|
|
|
|
|
|
|
para "I'm so proud of my"
|
|
|
|
line "buff bod!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
OlivineCafeFishingGuruText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OLIVINE CAFE's"
|
|
|
|
line "menu is chock full"
|
|
|
|
|
|
|
|
para "of hearty fare for"
|
|
|
|
line "beefy SAILORS!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
OlivineCafeSailorText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Whenever I roll"
|
|
|
|
line "into this town, I"
|
|
|
|
|
|
|
|
para "always visit the"
|
|
|
|
line "OLIVINE CAFE."
|
|
|
|
|
|
|
|
para "Everything on the"
|
|
|
|
line "menu makes me feel"
|
|
|
|
|
|
|
|
para "stronger. I can't"
|
|
|
|
line "stop eating!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
OlivineCafe_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 2, 7, OLIVINE_CITY, 7
|
|
|
|
warp_event 3, 7, OLIVINE_CITY, 7
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; bg events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 3 ; object events
|
2018-02-28 14:47:31 -08:00
|
|
|
object_event 4, 3, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivineCafeStrengthSailorScript, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 7, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivineCafeFishingGuruScript, -1
|
|
|
|
object_event 6, 6, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivineCafeSailorScript, -1
|