2018-01-31 08:08:47 -08:00
|
|
|
const_value set 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const MRPSYCHICSHOUSE_FISHING_GURU
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
MrPsychicsHouse_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MrPsychic:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
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
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2017-12-24 14:54:24 -08:00
|
|
|
verbosegiveitem TM_PSYCHIC_M
|
2015-06-25 21:01:08 -07:00
|
|
|
iffalse .Done
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_TM29_PSYCHIC
|
2016-04-10 11:42:14 -07:00
|
|
|
.AlreadyGotItem:
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext MrPsychicText2
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2016-04-10 11:42:14 -07:00
|
|
|
.Done:
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
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
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
MrPsychicsHouse_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-01-28 10:20:04 -08:00
|
|
|
warp_event 2, 7, 5, SAFFRON_CITY
|
|
|
|
warp_event 3, 7, 5, SAFFRON_CITY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; bg events
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 0, 1, BGEVENT_READ, MrPsychicsHouseBookshelf
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 1, 1, BGEVENT_READ, MrPsychicsHouseBookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; object events
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 5, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, MrPsychic, -1
|