pokecrystal/maps/CopycatsHouse2F.asm

387 lines
8.2 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const COPYCATSHOUSE2F_COPYCAT1 ; if player is male
2016-04-07 10:13:59 +00:00
const COPYCATSHOUSE2F_DODRIO
const COPYCATSHOUSE2F_FAIRYDOLL ; lost item
2016-04-07 10:13:59 +00:00
const COPYCATSHOUSE2F_MONSTERDOLL
const COPYCATSHOUSE2F_BIRDDOLL
const COPYCATSHOUSE2F_COPYCAT2 ; if player is female
2015-11-27 05:22:14 +00:00
2015-07-10 08:45:35 +00:00
CopycatsHouse2F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
dbw MAPCALLBACK_OBJECTS, .Callback
.Callback:
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Female
2015-11-27 05:22:14 +00:00
disappear COPYCATSHOUSE2F_COPYCAT2
appear COPYCATSHOUSE2F_COPYCAT1
2015-06-26 04:01:08 +00:00
jump .Done
.Female:
2015-11-27 05:22:14 +00:00
disappear COPYCATSHOUSE2F_COPYCAT1
appear COPYCATSHOUSE2F_COPYCAT2
.Done:
return
2015-06-26 04:01:08 +00:00
Copycat:
faceplayer
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_PASS_FROM_COPYCAT
iftrue .GotPass
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_LOST_ITEM_TO_COPYCAT
iftrue .TryGivePassAgain
checkitem LOST_ITEM
iftrue .ReturnLostItem
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_1
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_CHRIS
jump .Default_Merge_1
.Default_Female_1:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
.Default_Merge_1:
special MapCallbackSprites_LoadUsedSpritesGFX
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue .TalkAboutLostItem
2015-12-09 23:25:44 +00:00
opentext
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_2a
writetext CopycatText_Male_1
jump .Default_Merge_2a
.Default_Female_2a:
writetext CopycatText_Female_1
.Default_Merge_2a:
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_3a
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
jump .Default_Merge_3a
.Default_Female_3a:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
.Default_Merge_3a:
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_LASS
special MapCallbackSprites_LoadUsedSpritesGFX
2015-12-09 23:25:44 +00:00
opentext
writetext CopycatText_QuickMimicking
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.TalkAboutLostItem:
2015-12-09 23:25:44 +00:00
opentext
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_2b
writetext CopycatText_Male_2
jump .Default_Merge_2b
.Default_Female_2b:
writetext CopycatText_Female_2
.Default_Merge_2b:
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_3b
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
jump .Default_Merge_3b
.Default_Female_3b:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
.Default_Merge_3b:
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_LASS
special MapCallbackSprites_LoadUsedSpritesGFX
2015-12-09 23:25:44 +00:00
opentext
writetext CopycatText_Worried
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2013-09-24 07:48:58 +00:00
setevent EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM
end
.ReturnLostItem:
2015-12-09 23:25:44 +00:00
opentext
writetext CopycatText_GiveDoll
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
takeitem LOST_ITEM
2013-09-24 07:48:58 +00:00
setevent EVENT_RETURNED_LOST_ITEM_TO_COPYCAT
clearevent EVENT_COPYCATS_HOUSE_2F_DOLL
jump .GivePass
.TryGivePassAgain:
2015-12-09 23:25:44 +00:00
opentext
.GivePass:
writetext CopycatText_GivePass
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem PASS
iffalse .Cancel
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_PASS_FROM_COPYCAT
writetext CopycatText_ExplainPass
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.GotPass:
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .GotPass_Female_1
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_CHRIS
jump .GotPass_Merge_1
.GotPass_Female_1:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
.GotPass_Merge_1:
special MapCallbackSprites_LoadUsedSpritesGFX
2015-12-09 23:25:44 +00:00
opentext
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .GotPass_Female_2
writetext CopycatText_Male_3
jump .GotPass_Merge_2
.GotPass_Female_2:
writetext CopycatText_Female_3
.GotPass_Merge_2:
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-07-10 12:08:03 +00:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .GotPass_Female_3
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
jump .GotPass_Merge_3
.GotPass_Female_3:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
.GotPass_Merge_3:
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_LASS
special MapCallbackSprites_LoadUsedSpritesGFX
2015-12-09 23:25:44 +00:00
opentext
writetext CopycatText_ItsAScream
2015-11-25 15:16:29 +00:00
waitbutton
.Cancel:
2015-11-25 15:16:29 +00:00
closetext
end
2015-06-26 04:01:08 +00:00
CopycatsDodrio:
2015-12-09 23:25:44 +00:00
opentext
2015-06-26 04:01:08 +00:00
writetext CopycatsDodrioText1
cry DODRIO
2015-11-30 03:29:45 +00:00
buttonsound
2015-06-26 04:01:08 +00:00
writetext CopycatsDodrioText2
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
CopycatsHouse2FDoll:
jumptext CopycatsHouse2FDollText
2015-06-26 04:01:08 +00:00
CopycatsHouse2FBookshelf:
jumpstd picturebookshelf
CopycatSpinAroundMovementData:
2016-05-14 17:46:14 +00:00
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
CopycatText_Male_1:
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
CopycatText_QuickMimicking:
text "COPYCAT: Hmm?"
line "Quit mimicking?"
para "But that's my"
line "favorite hobby!"
done
CopycatText_Male_2:
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
CopycatText_Worried:
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
CopycatText_GiveDoll:
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
CopycatText_GivePass:
text "OK. Here's the"
line "MAGNET TRAIN PASS"
cont "like I promised!"
done
CopycatText_ExplainPass:
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
CopycatText_Male_3:
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
CopycatText_ItsAScream:
text "COPYCAT: You bet!"
line "It's a scream!"
done
CopycatText_Female_1:
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
CopycatText_Female_2:
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
CopycatText_Female_3:
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 08:45:35 +00:00
CopycatsDodrioText1:
text "DODRIO: Gii giii!"
done
2015-07-10 08:45:35 +00:00
CopycatsDodrioText2:
text "MIRROR, MIRROR ON"
line "THE WALL, WHO'S"
para "THE FAIREST ONE OF"
line "ALL?"
done
2015-06-26 04:01:08 +00:00
CopycatsHouse2FDollText:
text "This is a rare"
line "#MON! Huh?"
para "It's only a doll…"
done
2015-07-10 08:45:35 +00: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
2017-12-11 01:50:08 +00:00
person_event SPRITE_COPYCAT, 3, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, Copycat, EVENT_COPYCAT_1
person_event SPRITE_MOLTRES, 4, 6, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, PERSONTYPE_SCRIPT, 0, CopycatsDodrio, -1
person_event SPRITE_FAIRY, 1, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, CopycatsHouse2FDoll, EVENT_COPYCATS_HOUSE_2F_DOLL
person_event SPRITE_MONSTER, 1, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, CopycatsHouse2FDoll, -1
person_event SPRITE_BIRD, 1, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_SCRIPT, 0, CopycatsHouse2FDoll, -1
person_event SPRITE_COPYCAT, 3, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_SCRIPT, 0, Copycat, EVENT_COPYCAT_2