pokecrystal-board/maps/SilphCo1F.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

77 lines
1.4 KiB
NASM

const_value set 2
const SILPHCO1F_RECEPTIONIST
const SILPHCO1F_OFFICER
SilphCo1F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
SilphCoReceptionist:
jumptextfaceplayer SilphCoReceptionistText
OfficerScript_0x18abe8:
faceplayer
opentext
checkevent EVENT_GOT_UP_GRADE
iftrue UnknownScript_0x18abfd
writetext UnknownText_0x18ac36
buttonsound
verbosegiveitem UP_GRADE
iffalse UnknownScript_0x18ac01
setevent EVENT_GOT_UP_GRADE
UnknownScript_0x18abfd:
writetext UnknownText_0x18aca8
waitbutton
UnknownScript_0x18ac01:
closetext
end
SilphCoReceptionistText:
text "Welcome. This is"
line "SILPH CO.'s HEAD"
cont "OFFICE BUILDING."
done
UnknownText_0x18ac36:
text "Only employees are"
line "permitted to go"
cont "upstairs."
para "But since you came"
line "such a long way,"
para "have this neat"
line "little souvenir."
done
UnknownText_0x18aca8:
text "It's SILPH CO.'s"
line "latest product."
para "It's not for sale"
line "anywhere yet."
done
SilphCo1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 7, SAFFRON_CITY
warp_def $7, $3, 7, SAFFRON_CITY
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 2
object_event SPRITE_RECEPTIONIST, 2, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SilphCoReceptionist, -1
object_event SPRITE_OFFICER, 1, 13, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, OfficerScript_0x18abe8, -1