pokecrystal-board/maps/CopycatsHouse2F.asm

380 lines
8.2 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
const COPYCATSHOUSE2F_COPYCAT1 ; if player is male
2016-04-07 03:13:59 -07:00
const COPYCATSHOUSE2F_DODRIO
const COPYCATSHOUSE2F_FAIRYDOLL ; lost item
2016-04-07 03:13:59 -07:00
const COPYCATSHOUSE2F_MONSTERDOLL
const COPYCATSHOUSE2F_BIRDDOLL
const COPYCATSHOUSE2F_COPYCAT2 ; if player is female
2015-11-26 21:22:14 -08:00
CopycatsHouse2F_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .Callback
.Callback:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Female
2015-11-26 21:22:14 -08:00
disappear COPYCATSHOUSE2F_COPYCAT2
appear COPYCATSHOUSE2F_COPYCAT1
sjump .Done
.Female:
2015-11-26 21:22:14 -08:00
disappear COPYCATSHOUSE2F_COPYCAT1
appear COPYCATSHOUSE2F_COPYCAT2
.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
iftrue .GotPass
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_LOST_ITEM_TO_COPYCAT
iftrue .TryGivePassAgain
checkitem LOST_ITEM
iftrue .ReturnLostItem
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_1
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_CHRIS
sjump .Default_Merge_1
.Default_Female_1:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
.Default_Merge_1:
special LoadUsedSpritesGFX
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue .TalkAboutLostItem
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_2a
writetext CopycatText_Male_1
sjump .Default_Merge_2a
.Default_Female_2a:
writetext CopycatText_Female_1
.Default_Merge_2a:
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_3a
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
sjump .Default_Merge_3a
.Default_Female_3a:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
.Default_Merge_3a:
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_LASS
special LoadUsedSpritesGFX
2015-12-09 15:25:44 -08:00
opentext
writetext CopycatText_QuickMimicking
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.TalkAboutLostItem:
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_2b
writetext CopycatText_Male_2
sjump .Default_Merge_2b
.Default_Female_2b:
writetext CopycatText_Female_2
.Default_Merge_2b:
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Default_Female_3b
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
sjump .Default_Merge_3b
.Default_Female_3b:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
.Default_Merge_3b:
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_LASS
special LoadUsedSpritesGFX
2015-12-09 15:25:44 -08:00
opentext
writetext CopycatText_Worried
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
.ReturnLostItem:
2015-12-09 15:25:44 -08:00
opentext
writetext CopycatText_GiveDoll
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
sjump .GivePass
.TryGivePassAgain:
2015-12-09 15:25:44 -08:00
opentext
.GivePass:
writetext CopycatText_GivePass
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem PASS
iffalse .Cancel
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_PASS_FROM_COPYCAT
writetext CopycatText_ExplainPass
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.GotPass:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .GotPass_Female_1
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_CHRIS
sjump .GotPass_Merge_1
.GotPass_Female_1:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
.GotPass_Merge_1:
special LoadUsedSpritesGFX
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .GotPass_Female_2
writetext CopycatText_Male_3
sjump .GotPass_Merge_2
.GotPass_Female_2:
writetext CopycatText_Female_3
.GotPass_Merge_2:
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .GotPass_Female_3
applymovement COPYCATSHOUSE2F_COPYCAT1, CopycatSpinAroundMovementData
sjump .GotPass_Merge_3
.GotPass_Female_3:
applymovement COPYCATSHOUSE2F_COPYCAT2, CopycatSpinAroundMovementData
.GotPass_Merge_3:
faceplayer
variablesprite SPRITE_COPYCAT, SPRITE_LASS
special LoadUsedSpritesGFX
2015-12-09 15:25:44 -08:00
opentext
writetext CopycatText_ItsAScream
2015-11-25 07:16:29 -08:00
waitbutton
.Cancel:
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
CopycatSpinAroundMovementData:
2016-05-14 10:46:14 -07: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 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
CopycatsHouse2F_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 3, 0, COPYCATS_HOUSE_1F, 3
db 0 ; coord events
db 2 ; bg events
2018-02-01 19:22:07 -08:00
bg_event 0, 1, BGEVENT_READ, CopycatsHouse2FBookshelf
bg_event 1, 1, BGEVENT_READ, CopycatsHouse2FBookshelf
db 6 ; object events
2018-02-01 19:22:07 -08:00
object_event 4, 3, SPRITE_COPYCAT, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Copycat, EVENT_COPYCAT_1
object_event 6, 4, SPRITE_MOLTRES, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CopycatsDodrio, -1
object_event 6, 1, SPRITE_FAIRY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CopycatsHouse2FDoll, EVENT_COPYCATS_HOUSE_2F_DOLL
object_event 2, 1, SPRITE_MONSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CopycatsHouse2FDoll, -1
object_event 7, 1, SPRITE_BIRD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CopycatsHouse2FDoll, -1
object_event 4, 3, SPRITE_COPYCAT, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Copycat, EVENT_COPYCAT_2