pokecrystal-board/maps/OlivineCafe.asm

94 lines
2.0 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const OLIVINECAFE_SAILOR1
const OLIVINECAFE_FISHING_GURU
const OLIVINECAFE_SAILOR2
OlivineCafe_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-02-28 14:47:31 -08:00
OlivineCafeStrengthSailorScript:
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
closetext
end
2017-12-17 16:48:04 -08:00
OlivineCafeFishingGuruScript:
jumptextfaceplayer OlivineCafeFishingGuruText
2017-12-17 16:48:04 -08:00
OlivineCafeSailorScript:
jumptextfaceplayer OlivineCafeSailorText
2018-02-28 14:47:31 -08:00
OlivineCafeStrengthSailorText:
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
2018-02-28 14:47:31 -08:00
OlivineCafeStrengthSailorText_GotStrength:
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
2017-12-17 16:48:04 -08:00
OlivineCafeFishingGuruText:
text "OLIVINE CAFE's"
line "menu is chock full"
para "of hearty fare for"
line "beefy SAILORS!"
done
2017-12-17 16:48:04 -08:00
OlivineCafeSailorText:
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
OlivineCafe_MapEvents:
db 0, 0 ; filler
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
db 0 ; coord events
db 0 ; bg events
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