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

219 lines
4.2 KiB
NASM

const_value set 2
const CELADONMANSION3F_COOLTRAINER_M
const CELADONMANSION3F_GYM_GUY
const CELADONMANSION3F_SUPER_NERD
const CELADONMANSION3F_FISHER
CeladonMansion3F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
CooltrainerMScript_0x71670:
faceplayer
opentext
writetext UnknownText_0x716ce
checkcode VAR_DEXCAUGHT
if_greater_than 248, UnknownScript_0x7167e
waitbutton
closetext
end
UnknownScript_0x7167e:
buttonsound
writetext UnknownText_0x71725
playsound SFX_DEX_FANFARE_230_PLUS
waitsfx
writetext UnknownText_0x71760
buttonsound
special Diploma
writetext UnknownText_0x71763
waitbutton
closetext
setevent EVENT_ENABLE_DIPLOMA_PRINTING
end
GymGuyScript_0x71696:
faceplayer
opentext
checkevent EVENT_ENABLE_DIPLOMA_PRINTING
iftrue UnknownScript_0x716a4
writetext UnknownText_0x717b4
waitbutton
closetext
end
UnknownScript_0x716a4:
writetext UnknownText_0x717d8
yesorno
iffalse UnknownScript_0x716b0
special PrintDiploma
closetext
end
UnknownScript_0x716b0:
writetext UnknownText_0x71830
waitbutton
closetext
end
UnknownScript_0x716b6:
writetext UnknownText_0x71863
waitbutton
closetext
end
CeladonMansion3FSuperNerdScript:
jumptextfaceplayer CeladonMansion3FSuperNerdText
CeladonMansion3FFisherScript:
jumptextfaceplayer CeladonMansion3FFisherText
MapCeladonMansion3FSignpost0Script:
jumptext UnknownText_0x7190b
MapCeladonMansion3FSignpost1Script:
jumptext UnknownText_0x71928
MapCeladonMansion3FSignpost2Script:
jumptext UnknownText_0x71952
MapCeladonMansion3FSignpost3Script:
jumptext UnknownText_0x71996
UnknownText_0x716ce:
text "Is that right?"
para "I'm the GAME"
line "DESIGNER!"
para "Filling up your"
line "#DEX is tough,"
cont "but don't give up!"
done
UnknownText_0x71725:
text "Wow! Excellent!"
line "You completed your"
cont "#DEX!"
para "Congratulations!"
done
UnknownText_0x71760:
text "…"
done
UnknownText_0x71763:
text "The GRAPHIC ARTIST"
line "will print out a"
cont "DIPLOMA for you."
para "You should go show"
line "it off."
done
UnknownText_0x717b4:
text "I'm the GRAPHIC"
line "ARTIST."
para "I drew you!"
done
UnknownText_0x717d8:
text "I'm the GRAPHIC"
line "ARTIST."
para "Oh, you completed"
line "your #DEX?"
para "Want me to print"
line "out your DIPLOMA?"
done
UnknownText_0x71830:
text "Give me a shout if"
line "you want your"
cont "DIPLOMA printed."
done
UnknownText_0x71863:
text "Something's wrong."
line "I'll have to can-"
cont "cel printing."
done
CeladonMansion3FSuperNerdText:
text "Who, me? I'm the"
line "PROGRAMMER."
para "Play the slot"
line "machines!"
done
CeladonMansion3FFisherText:
text "Aren't the TWINS"
line "adorable?"
para "JASMINE's pretty"
line "too."
para "Oh, I love them!"
done
UnknownText_0x7190b:
text "GAME FREAK"
line "DEVELOPMENT ROOM"
done
UnknownText_0x71928:
text "It's a detailed"
line "drawing of a"
cont "pretty girl."
done
UnknownText_0x71952:
text "It's the game"
line "program. Messing"
para "with it could put"
line "a bug in the game!"
done
UnknownText_0x71996:
text "It's crammed with"
line "reference materi-"
cont "als. There's even"
cont "a # DOLL."
done
CeladonMansion3F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $0, $0, 1, CELADON_MANSION_ROOF
warp_def $0, $1, 2, CELADON_MANSION_2F
warp_def $0, $6, 3, CELADON_MANSION_2F
warp_def $0, $7, 2, CELADON_MANSION_ROOF
.CoordEvents:
db 0
.BGEvents:
db 4
bg_event 8, 5, BGEVENT_UP, MapCeladonMansion3FSignpost0Script
bg_event 3, 4, BGEVENT_UP, MapCeladonMansion3FSignpost1Script
bg_event 6, 1, BGEVENT_UP, MapCeladonMansion3FSignpost2Script
bg_event 3, 1, BGEVENT_UP, MapCeladonMansion3FSignpost3Script
.ObjectEvents:
db 4
object_event SPRITE_COOLTRAINER_M, 6, 3, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CooltrainerMScript_0x71670, -1
object_event SPRITE_GYM_GUY, 4, 3, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GymGuyScript_0x71696, -1
object_event SPRITE_SUPER_NERD, 7, 0, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FSuperNerdScript, -1
object_event SPRITE_FISHER, 4, 0, SPRITEMOVEDATA_STANDING_UP, 0, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FFisherScript, -1