2015-06-25 21:01:08 -07:00
|
|
|
MrPsychicsHouse_MapScriptHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MrPsychic:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TM29_PSYCHIC
|
2015-06-25 21:01:08 -07:00
|
|
|
iftrue .AlreadyGotItem
|
|
|
|
writetext MrPsychicText1
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2015-06-29 19:24:45 -07:00
|
|
|
verbosegiveitem TM_PSYCHIC, 1
|
2015-06-25 21:01:08 -07:00
|
|
|
iffalse .Done
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_TM29_PSYCHIC
|
2015-06-25 21:01:08 -07:00
|
|
|
.AlreadyGotItem
|
|
|
|
writetext MrPsychicText2
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-06-25 21:01:08 -07:00
|
|
|
.Done
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MrPsychicsHouseBookshelf:
|
2015-06-23 13:21:54 -07:00
|
|
|
jumpstd difficultbookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MrPsychicText1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…"
|
|
|
|
|
|
|
|
para "…"
|
|
|
|
|
|
|
|
para "…"
|
|
|
|
|
|
|
|
para "…I got it!"
|
|
|
|
|
|
|
|
para "You wanted this!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MrPsychicText2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "TM29 is PSYCHIC."
|
|
|
|
|
|
|
|
para "It may lower the"
|
|
|
|
line "target's SPCL.DEF."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MrPsychicsHouse_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 2
|
|
|
|
warp_def $7, $2, 5, GROUP_SAFFRON_CITY, MAP_SAFFRON_CITY
|
|
|
|
warp_def $7, $3, 5, GROUP_SAFFRON_CITY, MAP_SAFFRON_CITY
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 2
|
2015-06-25 21:01:08 -07:00
|
|
|
signpost 1, 0, $0, MrPsychicsHouseBookshelf
|
|
|
|
signpost 1, 1, $0, MrPsychicsHouseBookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 1
|
2015-06-25 21:01:08 -07:00
|
|
|
person_event SPRITE_FISHING_GURU, 7, 9, $8, $0, 255, 255, $a0, 0, MrPsychic, $ffff
|