pokecrystal-board/maps/CopycatsHouse2F.asm

390 lines
7.6 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const COPYCATSHOUSE2F_COPYCAT1
const COPYCATSHOUSE2F_MOLTRES
const COPYCATSHOUSE2F_FAIRY
const COPYCATSHOUSE2F_MONSTER
const COPYCATSHOUSE2F_BIRD
const COPYCATSHOUSE2F_COPYCAT2
2015-07-10 01:45:35 -07:00
CopycatsHouse2F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
; callbacks
2016-01-06 04:44:50 -08:00
dbw MAPCALLBACK_OBJECTS, CopycatsHouse2FCallback
2015-06-25 21:01:08 -07:00
CopycatsHouse2FCallback:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
2015-06-25 21:01:08 -07:00
iftrue .Part1
2015-11-26 21:22:14 -08:00
disappear COPYCATSHOUSE2F_COPYCAT2
appear COPYCATSHOUSE2F_COPYCAT1
2015-06-25 21:01:08 -07:00
jump .Done
.Part1
2015-11-26 21:22:14 -08:00
disappear COPYCATSHOUSE2F_COPYCAT1
appear COPYCATSHOUSE2F_COPYCAT2
2015-06-25 21:01:08 -07:00
.Done
return
2015-06-25 21:01:08 -07:00
Copycat:
faceplayer
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_PASS_FROM_COPYCAT
2015-06-25 21:01:08 -07:00
iftrue .Part15
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_LOST_ITEM_TO_COPYCAT
2015-06-25 21:01:08 -07:00
iftrue .Part13
checkitem LOST_ITEM
2015-06-25 21:01:08 -07:00
iftrue .Part12
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
2015-06-25 21:01:08 -07:00
iftrue .Part1
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT1, MovementData_0x18afd0
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_CHRIS
2015-06-25 21:01:08 -07:00
jump .Part2
2015-06-25 21:01:08 -07:00
.Part1
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT2, MovementData_0x18afd0
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
2015-06-25 21:01:08 -07:00
.Part2
special RunCallback_04
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_MACHINE_PART
2015-06-25 21:01:08 -07:00
iftrue .Part7
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
2015-06-25 21:01:08 -07:00
iftrue .Part3
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18afda
2015-06-25 21:01:08 -07:00
jump .Part4
2015-06-25 21:01:08 -07:00
.Part3
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b316
2015-06-25 21:01:08 -07:00
.Part4
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
2015-06-25 21:01:08 -07:00
iftrue .Part5
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT1, MovementData_0x18afd0
2015-06-25 21:01:08 -07:00
jump .Part6
2015-06-25 21:01:08 -07:00
.Part5
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT2, MovementData_0x18afd0
2015-06-25 21:01:08 -07:00
.Part6
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_LASS
special RunCallback_04
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b028
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 21:01:08 -07:00
.Part7
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
2015-06-25 21:01:08 -07:00
iftrue .Part8
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b064
2015-06-25 21:01:08 -07:00
jump .Part9
2015-06-25 21:01:08 -07:00
.Part8
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b366
2015-06-25 21:01:08 -07:00
.Part9
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
2015-06-25 21:01:08 -07:00
iftrue .Part10
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT1, MovementData_0x18afd0
2015-06-25 21:01:08 -07:00
jump .Part11
2015-06-25 21:01:08 -07:00
.Part10
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT2, MovementData_0x18afd0
2015-06-25 21:01:08 -07:00
.Part11
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_LASS
special RunCallback_04
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b116
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2013-09-24 00:48:58 -07:00
setevent EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM
end
2015-06-25 21:01:08 -07:00
.Part12
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b17f
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
takeitem LOST_ITEM
2013-09-24 00:48:58 -07:00
setevent EVENT_RETURNED_LOST_ITEM_TO_COPYCAT
clearevent EVENT_COPYCATS_HOUSE_2F_DOLL
2015-06-25 21:01:08 -07:00
jump .Part14
2015-06-25 21:01:08 -07:00
.Part13
2015-12-09 15:25:44 -08:00
opentext
2015-06-25 21:01:08 -07:00
.Part14
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b1e2
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem PASS
2015-06-25 21:01:08 -07:00
iffalse .Part22
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_PASS_FROM_COPYCAT
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b214
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 21:01:08 -07:00
.Part15
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
2015-06-25 21:01:08 -07:00
iftrue .Part16
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT1, MovementData_0x18afd0
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_CHRIS
2015-06-25 21:01:08 -07:00
jump .Part17
2015-06-25 21:01:08 -07:00
.Part16
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT2, MovementData_0x18afd0
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
2015-06-25 21:01:08 -07:00
.Part17
special RunCallback_04
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
2015-06-25 21:01:08 -07:00
iftrue .Part18
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b298
2015-06-25 21:01:08 -07:00
jump .Part19
2015-06-25 21:01:08 -07:00
.Part18
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b415
2015-06-25 21:01:08 -07:00
.Part19
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
2015-06-25 21:01:08 -07:00
iftrue .Part20
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT1, MovementData_0x18afd0
2015-06-25 21:01:08 -07:00
jump .Part21
2015-06-25 21:01:08 -07:00
.Part20
2015-11-26 21:22:14 -08:00
applymovement COPYCATSHOUSE2F_COPYCAT2, MovementData_0x18afd0
2015-06-25 21:01:08 -07:00
.Part21
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_LASS
special RunCallback_04
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x18b2f5
2015-11-25 07:16:29 -08:00
waitbutton
2015-06-25 21:01:08 -07:00
.Part22
2015-11-25 07:16:29 -08:00
closetext
end
2015-06-25 21:01:08 -07:00
CopycatsDodrio:
2015-12-09 15:25:44 -08:00
opentext
2015-06-25 21:01:08 -07:00
writetext CopycatsDodrioText1
cry DODRIO
2015-11-29 19:29:45 -08:00
buttonsound
2015-06-25 21:01:08 -07:00
writetext CopycatsDodrioText2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 21:01:08 -07:00
CopycatsHouse2FDoll:
jumptext CopycatsHouse2FDollText
2015-06-25 21:01:08 -07:00
CopycatsHouse2FBookshelf:
jumpstd picturebookshelf
2015-07-10 01:45:35 -07:00
MovementData_0x18afd0:
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
step_end
2015-07-10 01:45:35 -07:00
UnknownText_0x18afda:
text "<PLAYER>: Hi! Do"
line "you like #MON?"
para "<PLAYER>: Uh, no, I"
line "just asked you."
para "<PLAYER>: Huh?"
line "You're strange!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b028:
text "COPYCAT: Hmm?"
line "Quit mimicking?"
para "But that's my"
line "favorite hobby!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b064:
text "<PLAYER>: Hi!"
line "I heard that you"
para "lost your favorite"
line "# DOLL."
para "<PLAYER>: If I find"
line "it, you'll give me"
cont "a rail PASS?"
para "<PLAYER>: I'll go"
line "find it for you."
para "You think you lost"
line "it when you went"
cont "to VERMILION CITY?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b116:
text "COPYCAT: Pardon?"
para "I shouldn't decide"
line "what you should"
cont "do?"
para "But I'm really"
line "worried… What if"
cont "someone finds it?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b17f:
text "COPYCAT: Yay!"
line "That's my CLEFAIRY"
cont "# DOLL!"
para "See the tear where"
line "the right leg is"
para "sewn on? That's"
line "proof!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b1e2:
text "OK. Here's the"
line "MAGNET TRAIN PASS"
cont "like I promised!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b214:
text "COPYCAT: That's"
line "the PASS for the"
cont "MAGNET TRAIN."
para "The rail company"
line "man gave me that"
para "when they tore"
line "down our old house"
cont "for the STATION."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b298:
text "<PLAYER>: Hi!"
line "Thanks a lot for"
cont "the rail PASS!"
para "<PLAYER>: Pardon?"
para "<PLAYER>: Is it"
line "that fun to mimic"
cont "my every move?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b2f5:
text "COPYCAT: You bet!"
line "It's a scream!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b316:
text "<PLAYER>: Hi. You"
line "must like #MON."
para "<PLAYER>: No, not"
line "me. I asked you."
para "<PLAYER>: Pardon?"
line "You're weird!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b366:
text "<PLAYER>: Hi. Did"
line "you really lose"
cont "your # DOLL?"
para "<PLAYER>: You'll"
line "really give me a"
para "rail PASS if I"
line "find it for you?"
para "<PLAYER>: Sure,"
line "I'll look for it!"
para "You think you lost"
line "it when you were"
cont "in VERMILION?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x18b415:
text "<PLAYER>: Thank you"
line "for the rail PASS!"
para "<PLAYER>: …Pardon?"
para "<PLAYER>: Is it"
line "really that fun to"
para "copy what I say"
line "and do?"
done
2015-07-10 01:45:35 -07:00
CopycatsDodrioText1:
text "DODRIO: Gii giii!"
done
2015-07-10 01:45:35 -07:00
CopycatsDodrioText2:
text "MIRROR, MIRROR ON"
line "THE WALL, WHO'S"
para "THE FAIREST ONE OF"
line "ALL?"
done
2015-06-25 21:01:08 -07:00
CopycatsHouse2FDollText:
text "This is a rare"
line "#MON! Huh?"
para "It's only a doll…"
done
2015-07-10 01:45:35 -07:00
CopycatsHouse2F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $0, $3, 3, COPYCATS_HOUSE_1F
.XYTriggers:
db 0
.Signposts:
db 2
signpost 1, 0, SIGNPOST_READ, CopycatsHouse2FBookshelf
signpost 1, 1, SIGNPOST_READ, CopycatsHouse2FBookshelf
.PersonEvents:
db 6
person_event SPRITE_COPYCAT, 3, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, Copycat, EVENT_COPYCAT_1
person_event SPRITE_MOLTRES, 4, 6, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, CopycatsDodrio, -1
person_event SPRITE_FAIRY, 1, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, CopycatsHouse2FDoll, EVENT_COPYCATS_HOUSE_2F_DOLL
person_event SPRITE_MONSTER, 1, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, CopycatsHouse2FDoll, -1
person_event SPRITE_BIRD, 1, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, CopycatsHouse2FDoll, -1
person_event SPRITE_COPYCAT, 3, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, Copycat, EVENT_COPYCAT_2