pokecrystal-board/maps/KrissHouse1F.asm

412 lines
7.0 KiB
NASM
Raw Normal View History

2015-07-10 01:45:35 -07:00
KrissHouse1F_MapScriptHeader:
; trigger count
db 2
; triggers
dw UnknownScript_0x7a4d6, $0000
dw UnknownScript_0x7a4d7, $0000
; callback count
db 0
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a4d6:
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a4d7:
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a4d8:
2013-09-24 00:48:58 -07:00
setevent $0000
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a4db:
playmusic MUSIC_MOM
showemote $0, $2, 15
spriteface $0, LEFT
2013-09-24 00:48:58 -07:00
checkevent $0000
iffalse UnknownScript_0x7a4f2
applymovement $2, MovementData_0x7a5fc
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7a4f6
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a4f2:
applymovement $2, MovementData_0x7a5fe
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a4f6:
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a604
keeptextopen
stringtotext GearName, $1
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7a57e
2013-09-24 00:51:42 -07:00
setflag $0004
setflag $0002
addcellnum $1
dotrigger $1
2013-09-24 00:48:58 -07:00
setevent $06c7
clearevent $06c8
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a6bd
keeptextopen
special Function90913
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a519:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a742
yesorno
iffalse UnknownScript_0x7a52a
special Function90a54
yesorno
iffalse UnknownScript_0x7a519
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7a531
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a52a:
special Function90a88
yesorno
iffalse UnknownScript_0x7a519
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a531:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a763
yesorno
iffalse UnknownScript_0x7a542
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7a53b
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a53b:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a7cb
keeptextopen
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7a549
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a542:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a807
keeptextopen
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7a549
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a549:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a850
closetext
loadmovesprites
2013-09-24 00:48:58 -07:00
checkevent $0000
iftrue UnknownScript_0x7a55d
2013-09-24 00:48:58 -07:00
checkevent $0001
iffalse UnknownScript_0x7a564
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7a56b
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a55d:
applymovement $2, MovementData_0x7a600
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7a56b
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a564:
applymovement $2, MovementData_0x7a602
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7a56b
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a56b:
special RestartMapMusic
spriteface $2, LEFT
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a572:
playmusic MUSIC_MOM
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7a4f6
2015-07-10 01:45:35 -07:00
GearName:
db "#GEAR@"
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a57e:
jumpstd $002f
end
2015-07-10 01:45:35 -07:00
MomScript_0x7a582:
faceplayer
2013-09-24 00:48:58 -07:00
setevent $0001
checktriggers
iffalse UnknownScript_0x7a572
loadfont
2013-09-24 00:48:58 -07:00
checkevent $0076
iftrue UnknownScript_0x7a5af
2013-09-24 00:48:58 -07:00
checkevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
iftrue UnknownScript_0x7a5b8
2013-09-24 00:48:58 -07:00
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x7a5b5
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
iftrue UnknownScript_0x7a5a9
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a8b5
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a5a9:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a8e5
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a5af:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7a957
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a5b5:
2013-09-24 00:48:58 -07:00
setevent $0076
2015-07-10 01:45:35 -07:00
UnknownScript_0x7a5b8:
2013-09-24 00:48:58 -07:00
setevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
special Function16218
closetext
loadmovesprites
end
NeighborScript:
faceplayer
loadfont
checkmorn
iftrue .MornScript
checkday
iftrue .DayScript
checknite
iftrue .NiteScript
.MornScript
writetext NeighborMornIntroText
keeptextopen
jump .Main
.DayScript
writetext NeighborDayIntroText
keeptextopen
jump .Main
.NiteScript
writetext NeighborNiteIntroText
keeptextopen
jump .Main
.Main
writetext NeighborText
closetext
loadmovesprites
spriteface $6, RIGHT
end
TVScript:
jumptext TVText
StoveScript:
jumptext StoveText
SinkScript:
jumptext SinkText
FridgeScript:
jumptext FridgeText
2015-07-10 01:45:35 -07:00
MovementData_0x7a5fc:
turn_head_right
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x7a5fe:
slow_step_right
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x7a600:
turn_head_left
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x7a602:
slow_step_left
step_end
2015-07-10 01:45:35 -07:00
UnknownText_0x7a604:
text "Oh, <PLAYER>…! Our"
line "neighbor, PROF."
para "ELM, was looking"
line "for you."
para "He said he wanted"
line "you to do some-"
cont "thing for him."
para "Oh! I almost for-"
line "got! Your #MON"
para "GEAR is back from"
line "the repair shop."
para "Here you go!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7a6bd:
text "#MON GEAR, or"
line "just #GEAR."
para "It's essential if"
line "you want to be a"
cont "good trainer."
para "Oh, the day of the"
line "week isn't set."
para "You mustn't forget"
line "that!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7a742:
text "Is it Daylight"
line "Saving Time now?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7a763:
text "Come home to"
line "adjust your clock"
para "for Daylight"
line "Saving Time."
para "By the way, do you"
line "know how to use"
cont "the PHONE?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7a7cb:
text "Don't you just"
line "turn the #GEAR"
para "on and select the"
line "PHONE icon?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7a807:
text "I'll read the"
line "instructions."
para "Turn the #GEAR"
line "on and select the"
cont "PHONE icon."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7a850:
text "Phone numbers are"
line "stored in memory."
para "Just choose a name"
line "you want to call."
para "Gee, isn't that"
line "convenient?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7a8b5:
text "PROF.ELM is wait-"
line "ing for you."
para "Hurry up, baby!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7a8e5:
text "So, what was PROF."
line "ELM's errand?"
para "…"
para "That does sound"
line "challenging."
para "But, you should be"
line "proud that people"
cont "rely on you."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7a957:
text "<PLAYER>, do it!"
para "I'm behind you all"
line "the way!"
done
NeighborMornIntroText:
text "Good morning,"
line "<PLAY_G>!"
para "I'm visiting!"
done
NeighborDayIntroText:
text "Hello, <PLAY_G>!"
line "I'm visiting!"
done
NeighborNiteIntroText:
text "Good evening,"
line "<PLAY_G>!"
para "I'm visiting!"
done
NeighborText:
text "<PLAY_G>, have you"
line "heard?"
para "My daughter is"
line "adamant about"
para "becoming PROF."
line "ELM's assistant."
para "She really loves"
line "#MON!"
done
StoveText:
text "Mom's specialty!"
para "CINNABAR VOLCANO"
line "BURGER!"
done
SinkText:
text "The sink is spot-"
line "less. Mom likes it"
cont "clean."
done
FridgeText:
text "Let's see what's"
line "in the fridge…"
para "FRESH WATER and"
line "tasty LEMONADE!"
done
TVText:
text "There's a movie on"
line "TV: Stars dot the"
para "sky as two boys"
line "ride on a train…"
para "I'd better get"
line "rolling too!"
done
2015-07-10 01:45:35 -07:00
KrissHouse1F_MapEventHeader:
; filler
db 0, 0
; warps
db 3
warp_def $7, $6, 2, GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN
warp_def $7, $7, 2, GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN
warp_def $0, $9, 1, GROUP_KRISS_HOUSE_2F, MAP_KRISS_HOUSE_2F
; xy triggers
db 2
xy_trigger 0, $4, $8, $0, UnknownScript_0x7a4d8, $0, $0
xy_trigger 0, $4, $9, $0, UnknownScript_0x7a4db, $0, $0
; signposts
db 4
signpost 1, 0, $0, StoveScript
signpost 1, 1, $0, SinkScript
signpost 1, 2, $0, FridgeScript
signpost 1, 4, $0, TVScript
; people-events
db 5
2013-07-12 14:06:11 -07:00
person_event SPRITE_MOM, 8, 11, $8, $0, 255, 255, $0, 0, MomScript_0x7a582, $06c7
person_event SPRITE_MOM, 6, 6, $7, $0, 255, 1, $0, 0, MomScript_0x7a582, $06c8
person_event SPRITE_MOM, 8, 11, $8, $0, 255, 2, $0, 0, MomScript_0x7a582, $06c8
person_event SPRITE_MOM, 6, 4, $7, $0, 255, 4, $0, 0, MomScript_0x7a582, $06c8
person_event SPRITE_POKEFAN_F, 8, 8, $9, $0, 255, 255, $80, 0, NeighborScript, $0792