pokecrystal-board/maps/OlivineCafe.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

101 lines
1.9 KiB
NASM

const_value set 2
const OLIVINECAFE_SAILOR1
const OLIVINECAFE_FISHING_GURU
const OLIVINECAFE_SAILOR2
OlivineCafe_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
SailorScript_0x9c8c1:
faceplayer
opentext
checkevent EVENT_GOT_HM04_STRENGTH
iftrue UnknownScript_0x9c8d3
writetext UnknownText_0x9c8df
buttonsound
verbosegiveitem HM_STRENGTH
setevent EVENT_GOT_HM04_STRENGTH
UnknownScript_0x9c8d3:
writetext UnknownText_0x9c965
waitbutton
closetext
end
OlivineCafeFishingGuruScript:
jumptextfaceplayer OlivineCafeFishingGuruText
OlivineCafeSailorScript:
jumptextfaceplayer OlivineCafeSailorText
UnknownText_0x9c8df:
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
UnknownText_0x9c965:
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
OlivineCafeFishingGuruText:
text "OLIVINE CAFE's"
line "menu is chock full"
para "of hearty fare for"
line "beefy SAILORS!"
done
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_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 7, OLIVINE_CITY
warp_def $7, $3, 7, OLIVINE_CITY
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 3
object_event SPRITE_SAILOR, 3, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x9c8c1, -1
object_event SPRITE_FISHING_GURU, 3, 7, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivineCafeFishingGuruScript, -1
object_event SPRITE_SAILOR, 6, 6, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivineCafeSailorScript, -1