pokecrystal/maps/CeladonPokeCenter1F.asm

171 lines
3.3 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const CELADONPOKECENTER1F_NURSE
const CELADONPOKECENTER1F_GENTLEMAN
const CELADONPOKECENTER1F_PHARMACIST
const CELADONPOKECENTER1F_COOLTRAINER_F
2016-04-07 10:13:59 +00:00
const CELADONPOKECENTER1F_EUSINE
2015-11-27 05:22:14 +00:00
2015-07-10 08:45:35 +00:00
CeladonPokeCenter1F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 08:45:35 +00:00
NurseScript_0x71e22:
jumpstd pokecenternurse
2015-07-10 08:45:35 +00:00
GentlemanScript_0x71e25:
jumpstd happinesschecknpc
2015-07-10 08:45:35 +00:00
CooltrainerFScript_0x71e28:
jumptextfaceplayer UnknownText_0x71e70
2015-07-10 08:45:35 +00:00
PharmacistScript_0x71e2b:
jumptextfaceplayer UnknownText_0x71ec1
2016-04-07 10:13:59 +00:00
CeladonEusine:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2016-04-07 10:13:59 +00:00
writetext CeladonEusineText1
2015-11-30 03:29:45 +00:00
buttonsound
writebyte SUICUNE
special SpecialMonCheck
2016-04-07 10:13:59 +00:00
iffalse .NoSuicune
special SpecialBeastsCheck
2016-04-07 10:13:59 +00:00
iftrue .HoOh
writetext NoBeastsText
2015-11-25 15:16:29 +00:00
waitbutton
.NoSuicune:
2015-11-25 15:16:29 +00:00
closetext
end
.HoOh:
2016-04-07 10:13:59 +00:00
writetext EusineLeavesCeladonText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
checkcode VAR_FACING
2016-04-07 10:13:59 +00:00
if_equal $1, .Location1
applymovement CELADONPOKECENTER1F_EUSINE, .Movement1
jump .Continue
.Location1:
2016-04-07 10:13:59 +00:00
applymovement CELADONPOKECENTER1F_EUSINE, .Movement2
.Continue:
2016-04-07 10:13:59 +00:00
disappear CELADONPOKECENTER1F_EUSINE
playsound SFX_EXIT_BUILDING
2015-11-25 15:16:29 +00:00
waitsfx
end
.Movement2:
2016-05-14 17:46:14 +00:00
step LEFT
step DOWN
step DOWN
step DOWN
step DOWN
step_end
.Movement1:
2016-05-14 17:46:14 +00:00
step DOWN
step DOWN
step DOWN
step DOWN
step_end
2015-07-10 08:45:35 +00:00
UnknownText_0x71e70:
text "ERIKA is a master"
line "of grass #MON."
para "She'll make you"
line "pay if you don't"
cont "watch yourself."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x71ec1:
text "TEAM ROCKET's"
line "hideout is in the"
para "basement of the"
line "GAME CORNER."
para "Oh, wait. That was"
line "three years ago."
done
2016-04-07 10:13:59 +00:00
CeladonEusineText1:
text "EUSINE: Hi!"
para "I'm back visiting"
line "my hometown."
para "It's been quite a"
line "while."
done
2016-04-07 10:13:59 +00:00
EusineLeavesCeladonText:
text "<PLAYER>, have you"
line "heard?"
para "There have been"
line "fresh rumors of a"
para "rainbow-colored"
line "#MON appearing"
cont "at TIN TOWER."
para "I've just had my"
line "party healed, so"
para "now I'm headed to"
line "ECRUTEAK."
para "I'll be seeing"
line "you, <PLAYER>!"
done
2016-04-07 10:13:59 +00:00
NoBeastsText:
text "Oh, by the way,"
line "<PLAYER>."
para "Have you caught"
line "the legendary"
para "#MON RAIKOU and"
line "ENTEI?"
para $56, $56, $56
para "Okay…"
para "If you catch even"
line "one, I hope that"
cont "you'll inform me."
para "I'm counting on"
line "you, <PLAYER>!"
done
2015-07-10 08:45:35 +00:00
CeladonPokeCenter1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def $7, $3, 5, CELADON_CITY
warp_def $7, $4, 5, CELADON_CITY
warp_def $7, $0, 1, POKECENTER_2F
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 5
person_event SPRITE_NURSE, 1, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, NurseScript_0x71e22, -1
person_event SPRITE_GENTLEMAN, 5, 1, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GentlemanScript_0x71e25, -1
person_event SPRITE_PHARMACIST, 3, 0, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, PharmacistScript_0x71e2b, -1
person_event SPRITE_COOLTRAINER_F, 6, 8, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, CooltrainerFScript_0x71e28, -1
2016-04-07 10:13:59 +00:00
person_event SPRITE_SUPER_NERD, 3, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, CeladonEusine, EVENT_SET_WHEN_FOUGHT_HO_OH