Merge pull request #754 from Rangi42/master

Use def_* macros for automatic map event counts
This commit is contained in:
Rangi 2020-07-26 16:31:02 -04:00 committed by GitHub
commit 553cb9bc82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
393 changed files with 2753 additions and 2698 deletions

View File

@ -24,7 +24,7 @@
## Object constants
<pre>
object_const_def ; object_event constants
object_const_def
const <i>MAPNAME</i>_<i>OBJECTNAME</i>
</pre>
@ -39,7 +39,7 @@
### Scene scripts
<pre>
db <i>N</i> ; scene scripts
def_scene_scripts
scene_script <i>script</i>
</pre>
@ -47,7 +47,7 @@
### Callbacks
<pre>
db <i>N</i> ; callbacks
def_callbacks
callback <i>type</i>, <i>script</i>
</pre>
@ -105,7 +105,7 @@
### Warp events
<pre>
db <i>N</i> ; warp events
def_warp_events
warp_event <i>x</i>, <i>y</i>, <i>map</i>, <i>warp_id</i>
</pre>
@ -113,7 +113,7 @@
### Coord events
<pre>
db <i>N</i> ; coord events
def_coord_events
coord_event <i>x</i>, <i>y</i>, <i>scene_id</i>, <i>script</i>
</pre>
@ -121,7 +121,7 @@
### BG events
<pre>
db <i>N</i> ; bg events
def_bg_events
bg_event <i>x</i>, <i>y</i>, <i>type</i>, <i>script</i>
</pre>
@ -148,7 +148,7 @@
### Object events
<pre>
db <i>N</i> ; object events
def_object_events
object_event <i>x</i>, <i>y</i>, <i>sprite</i>, <i>movement</i>, <i>rx</i>, <i>ry</i>, <i>h1</i>, <i>h2</i>, <i>palette</i>, <i>type</i>, <i>range</i>, <i>script</i>, <i>event_flag</i>
</pre>

View File

@ -188,10 +188,10 @@ DoNPCTrade:
ld e, NPCTRADE_DIALOG
call GetTradeAttribute
ld a, [hl]
cp TRADE_DIALOG_COMPLETE
ld b, RESET_FLAG
cp TRADE_DIALOGSET_GIRL
ld b, CAUGHT_BY_UNKNOWN
jr c, .incomplete
ld b, SET_FLAG
ld b, CAUGHT_BY_GIRL
.incomplete
farcall SetGiftPartyMonCaughtData

View File

@ -55,6 +55,7 @@ PlayerObjectTemplate:
; A dummy map object used to initialize the player object.
; Shorter than the actual amount copied by two bytes.
; Said bytes seem to be unused.
_NUM_OBJECT_EVENTS = 0
object_event -4, -4, SPRITE_CHRIS, SPRITEMOVEDATA_PLAYER, 15, 15, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, 0, -1
CopyDECoordsToMapObject::

View File

@ -223,18 +223,12 @@ signpost: MACRO
ENDM
person_event: MACRO
; object_event \3, \2, \1, \4, \5, \6, \7, \8, \9, \10, \11, \12, \13
db \1, \2 + 4, \3 + 4, \4
dn \6, \5
db \7, \8
shift
dn \8, \9
shift
db \9
shift
dw \9
shift
dw \9
_s = \1
_y = \2
_x = \3
_m = \4
shift 4
object_event _x, _y, _s, _m, \1, \2, \3, \4, \5, \6, \7, \8, \9
ENDM
PERSONTYPE_SCRIPT EQUS "OBJECTTYPE_SCRIPT"

View File

@ -5,16 +5,45 @@ ENDM
object_const_def EQUS "const_def 2"
def_scene_scripts: MACRO
if DEF(_NUM_SCENE_SCRIPTS)
PURGE _NUM_SCENE_SCRIPTS
endc
_NUM_SCENE_SCRIPTS EQUS "_NUM_SCENE_SCRIPTS_\@"
db _NUM_SCENE_SCRIPTS
_NUM_SCENE_SCRIPTS = 0
ENDM
scene_script: MACRO
;\1: script pointer
dw \1
dw 0 ; filler
_NUM_SCENE_SCRIPTS = _NUM_SCENE_SCRIPTS + 1
ENDM
def_callbacks: MACRO
if DEF(_NUM_CALLBACKS)
PURGE _NUM_CALLBACKS
endc
_NUM_CALLBACKS EQUS "_NUM_CALLBACKS_\@"
db _NUM_CALLBACKS
_NUM_CALLBACKS = 0
ENDM
callback: MACRO
;\1: type: a MAPCALLBACK_* constant
;\2: script pointer
dbw \1, \2
_NUM_CALLBACKS = _NUM_CALLBACKS + 1
ENDM
def_warp_events: MACRO
if DEF(_NUM_WARP_EVENTS)
PURGE _NUM_WARP_EVENTS
endc
_NUM_WARP_EVENTS EQUS "_NUM_WARP_EVENTS_\@"
db _NUM_WARP_EVENTS
_NUM_WARP_EVENTS = 0
ENDM
warp_event: MACRO
@ -24,6 +53,16 @@ warp_event: MACRO
;\4: warp destination: starts at 1
db \2, \1, \4
map_id \3
_NUM_WARP_EVENTS = _NUM_WARP_EVENTS + 1
ENDM
def_coord_events: MACRO
if DEF(_NUM_COORD_EVENTS)
PURGE _NUM_COORD_EVENTS
endc
_NUM_COORD_EVENTS EQUS "_NUM_COORD_EVENTS_\@"
db _NUM_COORD_EVENTS
_NUM_COORD_EVENTS = 0
ENDM
coord_event: MACRO
@ -35,6 +74,16 @@ coord_event: MACRO
db 0 ; filler
dw \4
dw 0 ; filler
_NUM_COORD_EVENTS = _NUM_COORD_EVENTS + 1
ENDM
def_bg_events: MACRO
if DEF(_NUM_BG_EVENTS)
PURGE _NUM_BG_EVENTS
endc
_NUM_BG_EVENTS EQUS "_NUM_BG_EVENTS_\@"
db _NUM_BG_EVENTS
_NUM_BG_EVENTS = 0
ENDM
bg_event: MACRO
@ -44,6 +93,16 @@ bg_event: MACRO
;\4: script pointer
db \2, \1, \3
dw \4
_NUM_BG_EVENTS = _NUM_BG_EVENTS + 1
ENDM
def_object_events: MACRO
if DEF(_NUM_OBJECT_EVENTS)
PURGE _NUM_OBJECT_EVENTS
endc
_NUM_OBJECT_EVENTS EQUS "_NUM_OBJECT_EVENTS_\@"
db _NUM_OBJECT_EVENTS
_NUM_OBJECT_EVENTS = 0
ENDM
object_event: MACRO
@ -74,6 +133,7 @@ object_event: MACRO
dw \9
shift
dw \9
_NUM_OBJECT_EVENTS = _NUM_OBJECT_EVENTS + 1
ENDM
trainer: MACRO

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const AZALEAGYM_BUGSY
const AZALEAGYM_BUG_CATCHER1
const AZALEAGYM_BUG_CATCHER2
@ -8,9 +8,9 @@
const AZALEAGYM_GYM_GUIDE
AzaleaGym_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
AzaleaGymBugsyScript:
faceplayer
@ -362,17 +362,17 @@ AzaleaGymGuideWinText:
AzaleaGym_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 4, 15, AZALEA_TOWN, 5
warp_event 5, 15, AZALEA_TOWN, 5
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 3, 13, BGEVENT_READ, AzaleaGymStatue
bg_event 6, 13, BGEVENT_READ, AzaleaGymStatue
db 7 ; object events
def_object_events
object_event 5, 7, SPRITE_BUGSY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, AzaleaGymBugsyScript, -1
object_event 5, 3, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerBugCatcherBenny, -1
object_event 8, 8, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerBugCatcherAl, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const AZALEAMART_CLERK
const AZALEAMART_COOLTRAINER_M
const AZALEAMART_BUG_CATCHER
AzaleaMart_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
AzaleaMartClerkScript:
opentext
@ -46,15 +46,15 @@ AzaleaMartBugCatcherText:
AzaleaMart_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, AZALEA_TOWN, 3
warp_event 3, 7, AZALEA_TOWN, 3
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, AzaleaMartClerkScript, -1
object_event 2, 5, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, AzaleaMartCooltrainerMScript, -1
object_event 7, 2, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, AzaleaMartBugCatcherScript, -1

View File

@ -1,14 +1,14 @@
object_const_def ; object_event constants
object_const_def
const AZALEAPOKECENTER1F_NURSE
const AZALEAPOKECENTER1F_GENTLEMAN
const AZALEAPOKECENTER1F_FISHING_GURU
const AZALEAPOKECENTER1F_POKEFAN_F
AzaleaPokecenter1F_MapScripts:
db 1 ; scene scripts
def_scene_scripts
scene_script .DummyScene
db 0 ; callbacks
def_callbacks
.DummyScene:
end
@ -78,16 +78,16 @@ AzaleaPokecenter1FPokefanFText:
AzaleaPokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 3, 7, AZALEA_TOWN, 1
warp_event 4, 7, AZALEA_TOWN, 1
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 4 ; object events
def_object_events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, AzaleaPokecenter1FNurseScript, -1
object_event 9, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, AzaleaPokecenter1FGentlemanScript, -1
object_event 6, 1, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, AzaleaPokecenter1FFishingGuruScript, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const AZALEATOWN_AZALEA_ROCKET1
const AZALEATOWN_GRAMPS
const AZALEATOWN_TEACHER
@ -13,12 +13,12 @@
const AZALEATOWN_KURT_OUTSIDE
AzaleaTown_MapScripts:
db 3 ; scene scripts
def_scene_scripts
scene_script .DummyScene0 ; SCENE_AZALEATOWN_NOTHING
scene_script .DummyScene1 ; SCENE_AZALEATOWN_RIVAL_BATTLE
scene_script .DummyScene2 ; SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .Flypoint
.DummyScene0:
@ -456,7 +456,7 @@ AzaleaTownIlexForestSignText:
AzaleaTown_MapEvents:
db 0, 0 ; filler
db 8 ; warp events
def_warp_events
warp_event 15, 9, AZALEA_POKECENTER_1F, 1
warp_event 21, 13, CHARCOAL_KILN, 1
warp_event 21, 5, AZALEA_MART, 2
@ -466,12 +466,12 @@ AzaleaTown_MapEvents:
warp_event 2, 10, ILEX_FOREST_AZALEA_GATE, 3
warp_event 2, 11, ILEX_FOREST_AZALEA_GATE, 4
db 3 ; coord events
def_coord_events
coord_event 5, 10, SCENE_AZALEATOWN_RIVAL_BATTLE, AzaleaTownRivalBattleScene1
coord_event 5, 11, SCENE_AZALEATOWN_RIVAL_BATTLE, AzaleaTownRivalBattleScene2
coord_event 9, 6, SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL, AzaleaTownCelebiScene
db 9 ; bg events
def_bg_events
bg_event 19, 9, BGEVENT_READ, AzaleaTownSign
bg_event 10, 9, BGEVENT_READ, KurtsHouseSign
bg_event 14, 15, BGEVENT_READ, AzaleaGymSign
@ -482,7 +482,7 @@ AzaleaTown_MapEvents:
bg_event 3, 9, BGEVENT_READ, AzaleaTownIlextForestSign
bg_event 31, 6, BGEVENT_ITEM, AzaleaTownHiddenFullHeal
db 12 ; object events
def_object_events
object_event 31, 9, SPRITE_AZALEA_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, AzaleaTownRocket1Script, EVENT_AZALEA_TOWN_SLOWPOKETAIL_ROCKET
object_event 21, 9, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 1, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, AzaleaTownGrampsScript, -1
object_event 15, 13, SPRITE_TEACHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, AzaleaTownTeacherScript, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const BATTLETOWER1F_RECEPTIONIST
const BATTLETOWER1F_YOUNGSTER
const BATTLETOWER1F_COOLTRAINER_F
@ -6,11 +6,11 @@
const BATTLETOWER1F_GRANNY
BattleTower1F_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .Scene0 ; SCENE_DEFAULT
scene_script .Scene1 ; SCENE_FINISHED
db 0 ; callbacks
def_callbacks
.Scene0:
setval BATTLETOWERACTION_CHECKSAVEFILEISYOURS
@ -794,17 +794,17 @@ Text_BattleTowerBugCatcher:
BattleTower1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 7, 9, BATTLE_TOWER_OUTSIDE, 3
warp_event 8, 9, BATTLE_TOWER_OUTSIDE, 4
warp_event 7, 0, BATTLE_TOWER_ELEVATOR, 1
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 6, 6, BGEVENT_READ, BattleTower1FRulesSign
db 5 ; object events
def_object_events
object_event 7, 6, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BattleTower1FReceptionistScript, -1
object_event 14, 9, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BattleTower1FYoungsterScript, -1
object_event 4, 9, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BattleTower1FCooltrainerFScript, -1

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const BATTLETOWERBATTLEROOM_YOUNGSTER
const BATTLETOWERBATTLEROOM_RECEPTIONIST
BattleTowerBattleRoom_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .EnterBattleRoom ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_FINISHED
db 0 ; callbacks
def_callbacks
.EnterBattleRoom:
disappear BATTLETOWERBATTLEROOM_YOUNGSTER
@ -139,14 +139,14 @@ Text_ReturnedAfterSave_Mobile:
BattleTowerBattleRoom_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 3, 7, BATTLE_TOWER_HALLWAY, 4
warp_event 4, 7, BATTLE_TOWER_HALLWAY, 4
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 2 ; object events
def_object_events
object_event 4, 0, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_BATTLE_TOWER_BATTLE_ROOM_YOUNGSTER
object_event 1, 6, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const BATTLETOWERELEVATOR_RECEPTIONIST
BattleTowerElevator_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .Scene0 ; SCENE_DEFAULT
scene_script .Scene1 ; SCENE_FINISHED
db 0 ; callbacks
def_callbacks
.Scene0:
prioritysjump .RideElevator
@ -44,13 +44,13 @@ MovementData_BattleTowerElevatorPlayerWalksIn:
BattleTowerElevator_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 1, 3, BATTLE_TOWER_HALLWAY, 1
warp_event 2, 3, BATTLE_TOWER_HALLWAY, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 1 ; object events
def_object_events
object_event 1, 2, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MovementData_BattleTowerElevatorReceptionistWalksIn, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const BATTLETOWERHALLWAY_RECEPTIONIST
BattleTowerHallway_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .Scene0 ; SCENE_DEFAULT
scene_script .Scene1 ; SCENE_FINISHED
db 0 ; callbacks
def_callbacks
.Scene0:
prioritysjump .ChooseBattleRoom
@ -77,7 +77,7 @@ BattleTowerHallway_MapScripts:
BattleTowerHallway_MapEvents:
db 0, 0 ; filler
db 6 ; warp events
def_warp_events
warp_event 11, 1, BATTLE_TOWER_ELEVATOR, 1
warp_event 5, 0, BATTLE_TOWER_BATTLE_ROOM, 1
warp_event 7, 0, BATTLE_TOWER_BATTLE_ROOM, 1
@ -85,9 +85,9 @@ BattleTowerHallway_MapEvents:
warp_event 13, 0, BATTLE_TOWER_BATTLE_ROOM, 1
warp_event 15, 0, BATTLE_TOWER_BATTLE_ROOM, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 1 ; object events
def_object_events
object_event 11, 2, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BattleTowerHallway_MapEvents, -1

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const BATTLETOWEROUTSIDE_STANDING_YOUNGSTER
const BATTLETOWEROUTSIDE_BEAUTY
const BATTLETOWEROUTSIDE_SAILOR
const BATTLETOWEROUTSIDE_LASS
BattleTowerOutside_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 2 ; callbacks
def_callbacks
callback MAPCALLBACK_TILES, .Callback1
callback MAPCALLBACK_OBJECTS, .Callback2
@ -134,18 +134,18 @@ BattleTowerOutsideText_DoorsOpen:
BattleTowerOutside_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
def_warp_events
warp_event 8, 21, ROUTE_40_BATTLE_TOWER_GATE, 3
warp_event 9, 21, ROUTE_40_BATTLE_TOWER_GATE, 4
warp_event 8, 9, BATTLE_TOWER_1F, 1
warp_event 9, 9, BATTLE_TOWER_1F, 2
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 10, 10, BGEVENT_READ, BattleTowerOutsideSign
db 4 ; object events
def_object_events
object_event 6, 12, SPRITE_STANDING_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideYoungsterScript, -1
object_event 13, 11, SPRITE_BEAUTY, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideBeautyScript, -1
object_event 12, 18, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideSailorScript, EVENT_BATTLE_TOWER_OUTSIDE_SAILOR

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const BILLSBROTHERSHOUSE_POKEFAN_F
const BILLSBROTHERSHOUSE_YOUNGSTER
BillsBrothersHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
BillsBrotherScript:
jumptextfaceplayer BillsBrotherText
@ -28,14 +28,14 @@ BillsBrothersHouseYoungsterText:
BillsBrothersHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, FUCHSIA_CITY, 4
warp_event 3, 7, FUCHSIA_CITY, 4
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 2 ; object events
def_object_events
object_event 2, 3, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BillsBrotherScript, -1
object_event 6, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BillsBrothersHouseYoungsterScript, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const BILLSFAMILYSHOUSE_BILL
const BILLSFAMILYSHOUSE_POKEFAN_F
const BILLSFAMILYSHOUSE_TWIN
BillsFamilysHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
BillScript:
faceplayer
@ -243,18 +243,18 @@ BillsSisterStorageSystemText:
BillsFamilysHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, GOLDENROD_CITY, 4
warp_event 3, 7, GOLDENROD_CITY, 4
db 0 ; coord events
def_coord_events
db 3 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, BillsHouseBookshelf2
bg_event 1, 1, BGEVENT_READ, BillsHouseBookshelf1
bg_event 7, 1, BGEVENT_READ, BillsHouseRadio
db 3 ; object events
def_object_events
object_event 2, 3, SPRITE_BILL, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BillScript, EVENT_MET_BILL
object_event 5, 3, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BillsMomScript, -1
object_event 5, 4, SPRITE_TWIN, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, BillsSisterScript, -1

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const BILLSHOUSE_GRAMPS
BillsHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
BillsGrandpa:
faceplayer
@ -354,13 +354,13 @@ BillsGrandpaPichuText:
BillsHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, ROUTE_25, 1
warp_event 3, 7, ROUTE_25, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 1 ; object events
def_object_events
object_event 2, 3, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_UP, 0, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BillsGrandpa, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const BLACKTHORNCITY_SUPER_NERD1
const BLACKTHORNCITY_SUPER_NERD2
const BLACKTHORNCITY_GRAMPS1
@ -10,9 +10,9 @@
const BLACKTHORNCITY_COOLTRAINER_F2
BlackthornCity_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 2 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_OBJECTS, .Santos
@ -313,7 +313,7 @@ BlackthornCityTrainerTipsText:
BlackthornCity_MapEvents:
db 0, 0 ; filler
db 8 ; warp events
def_warp_events
warp_event 18, 11, BLACKTHORN_GYM_1F, 1
warp_event 13, 21, BLACKTHORN_DRAGON_SPEECH_HOUSE, 1
warp_event 29, 23, BLACKTHORN_EMYS_HOUSE, 1
@ -323,9 +323,9 @@ BlackthornCity_MapEvents:
warp_event 36, 9, ICE_PATH_1F, 2
warp_event 20, 1, DRAGONS_DEN_1F, 1
db 0 ; coord events
def_coord_events
db 7 ; bg events
def_bg_events
bg_event 34, 24, BGEVENT_READ, BlackthornCitySign
bg_event 17, 13, BGEVENT_READ, BlackthornGymSign
bg_event 7, 31, BGEVENT_READ, MoveDeletersHouseSign
@ -334,7 +334,7 @@ BlackthornCity_MapEvents:
bg_event 16, 29, BGEVENT_READ, BlackthornCityMartSign
bg_event 22, 29, BGEVENT_READ, BlackthornCityPokecenterSign
db 9 ; object events
def_object_events
object_event 18, 12, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BlackthornSuperNerdScript, EVENT_BLACKTHORN_CITY_SUPER_NERD_BLOCKS_GYM
object_event 19, 12, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BlackthornSuperNerdScript, EVENT_BLACKTHORN_CITY_SUPER_NERD_DOES_NOT_BLOCK_GYM
object_event 20, 2, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGramps1Script, EVENT_BLACKTHORN_CITY_GRAMPS_BLOCKS_DRAGONS_DEN

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const BLACKTHORNDRAGONSPEECHHOUSE_GRANNY
const BLACKTHORNDRAGONSPEECHHOUSE_EKANS
BlackthornDragonSpeechHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
BlackthornDragonSpeechHouseGrannyScript:
jumptextfaceplayer BlackthornDragonSpeechHouseGrannyText
@ -48,14 +48,14 @@ BlackthornDragonSpeechHouseDratiniText:
BlackthornDragonSpeechHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, BLACKTHORN_CITY, 2
warp_event 3, 7, BLACKTHORN_CITY, 2
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 2 ; object events
def_object_events
object_event 2, 3, SPRITE_GRANNY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornDragonSpeechHouseGrannyScript, -1
object_event 5, 5, SPRITE_EKANS, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BlackthornDragonSpeechHouseDratiniScript, -1

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const BLACKTHORNEMYSHOUSE_EMY
BlackthornEmysHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
Emy:
faceplayer
@ -20,15 +20,15 @@ EmysHouseBookshelf:
BlackthornEmysHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, BLACKTHORN_CITY, 3
warp_event 3, 7, BLACKTHORN_CITY, 3
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, EmysHouseBookshelf
bg_event 1, 1, BGEVENT_READ, EmysHouseBookshelf
db 1 ; object events
def_object_events
object_event 2, 3, SPRITE_LASS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Emy, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const BLACKTHORNGYM1F_CLAIR
const BLACKTHORNGYM1F_COOLTRAINER_M1
const BLACKTHORNGYM1F_COOLTRAINER_M2
@ -6,9 +6,9 @@
const BLACKTHORNGYM1F_GYM_GUIDE
BlackthornGym1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_TILES, .Boulders
.Boulders:
@ -387,7 +387,7 @@ BlackthornGymGuideWinText:
BlackthornGym1F_MapEvents:
db 0, 0 ; filler
db 7 ; warp events
def_warp_events
warp_event 4, 17, BLACKTHORN_CITY, 1
warp_event 5, 17, BLACKTHORN_CITY, 1
warp_event 1, 7, BLACKTHORN_GYM_2F, 1
@ -396,13 +396,13 @@ BlackthornGym1F_MapEvents:
warp_event 7, 7, BLACKTHORN_GYM_2F, 4
warp_event 7, 6, BLACKTHORN_GYM_2F, 5
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 3, 15, BGEVENT_READ, BlackthornGymStatue
bg_event 6, 15, BGEVENT_READ, BlackthornGymStatue
db 5 ; object events
def_object_events
object_event 5, 3, SPRITE_CLAIR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BlackthornGymClairScript, -1
object_event 6, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerCooltrainermMike, -1
object_event 1, 14, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerCooltrainermPaul, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const BLACKTHORNGYM2F_COOLTRAINER_M
const BLACKTHORNGYM2F_COOLTRAINER_F
const BLACKTHORNGYM2F_BOULDER1
@ -9,9 +9,9 @@
const BLACKTHORNGYM2F_BOULDER6
BlackthornGym2F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_CMDQUEUE, .SetUpStoneTable
.SetUpStoneTable:
@ -126,18 +126,18 @@ BlackthornGym2FBoulderFellText:
BlackthornGym2F_MapEvents:
db 0, 0 ; filler
db 5 ; warp events
def_warp_events
warp_event 1, 7, BLACKTHORN_GYM_1F, 3
warp_event 7, 9, BLACKTHORN_GYM_1F, 4
warp_event 2, 5, BLACKTHORN_GYM_1F, 5 ; hole
warp_event 8, 7, BLACKTHORN_GYM_1F, 6 ; hole
warp_event 8, 3, BLACKTHORN_GYM_1F, 7 ; hole
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 8 ; object events
def_object_events
object_event 4, 1, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerCooltrainermCody, -1
object_event 4, 11, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerCooltrainerfFran, -1
object_event 8, 2, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const BLACKTHORNMART_CLERK
const BLACKTHORNMART_COOLTRAINER_M
const BLACKTHORNMART_BLACK_BELT
BlackthornMart_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
BlackthornMartClerkScript:
opentext
@ -47,15 +47,15 @@ BlackthornMartBlackBeltText:
BlackthornMart_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, BLACKTHORN_CITY, 4
warp_event 3, 7, BLACKTHORN_CITY, 4
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornMartClerkScript, -1
object_event 7, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornMartCooltrainerMScript, -1
object_event 5, 2, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, BlackthornMartBlackBeltScript, -1

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const BLACKTHORNPOKECENTER1F_NURSE
const BLACKTHORNPOKECENTER1F_GENTLEMAN
const BLACKTHORNPOKECENTER1F_TWIN
const BLACKTHORNPOKECENTER1F_COOLTRAINER_M
BlackthornPokecenter1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
BlackthornPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
@ -50,16 +50,16 @@ BlackthornPokecenter1FTwinText:
BlackthornPokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 3, 7, BLACKTHORN_CITY, 5
warp_event 4, 7, BLACKTHORN_CITY, 5
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 4 ; object events
def_object_events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornPokecenter1FNurseScript, -1
object_event 5, 3, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornPokecenter1FGentlemanScript, -1
object_event 1, 4, SPRITE_TWIN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, BlackthornPokecenter1FTwinScript, -1

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const BLUESHOUSE_DAISY
BluesHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
DaisyScript:
faceplayer
@ -145,13 +145,13 @@ DaisyCantGroomEggText:
BluesHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, PALLET_TOWN, 2
warp_event 3, 7, PALLET_TOWN, 2
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 1 ; object events
def_object_events
object_event 2, 3, SPRITE_DAISY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DaisyScript, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const BRUNOSROOM_BRUNO
BrunosRoom_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .LockDoor ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_FINISHED
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_TILES, .BrunosRoomDoors
.LockDoor:
@ -125,15 +125,15 @@ BrunoScript_BrunoDefeatText:
BrunosRoom_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
def_warp_events
warp_event 4, 17, KOGAS_ROOM, 3
warp_event 5, 17, KOGAS_ROOM, 4
warp_event 4, 2, KARENS_ROOM, 1
warp_event 5, 2, KARENS_ROOM, 2
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 1 ; object events
def_object_events
object_event 5, 7, SPRITE_BRUNO, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BrunoScript_Battle, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const BURNEDTOWER1F_ROCK
const BURNEDTOWER1F_EUSINE
const BURNEDTOWER1F_SILVER
@ -6,12 +6,12 @@
const BURNEDTOWER1F_POKE_BALL
BurnedTower1F_MapScripts:
db 3 ; scene scripts
def_scene_scripts
scene_script .EusineScene ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_BURNEDTOWER1F_RIVAL_BATTLE
scene_script .DummyScene2 ; SCENE_BURNEDTOWER1F_NOTHING
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_TILES, .HoleAndLadder
.EusineScene:
@ -278,7 +278,7 @@ BurnedTower1FMortyText:
BurnedTower1F_MapEvents:
db 0, 0 ; filler
db 14 ; warp events
def_warp_events
warp_event 9, 15, ECRUTEAK_CITY, 13
warp_event 10, 15, ECRUTEAK_CITY, 13
warp_event 10, 9, BURNED_TOWER_B1F, 1
@ -294,14 +294,14 @@ BurnedTower1F_MapEvents:
warp_event 15, 14, BURNED_TOWER_B1F, 5 ; inaccessible, left over from G/S
warp_event 7, 15, BURNED_TOWER_B1F, 6 ; inaccessible, left over from G/S
db 1 ; coord events
def_coord_events
coord_event 11, 9, SCENE_BURNEDTOWER1F_RIVAL_BATTLE, BurnedTowerRivalBattleScript
db 2 ; bg events
def_bg_events
bg_event 8, 7, BGEVENT_ITEM, BurnedTower1FHiddenEther
bg_event 13, 11, BGEVENT_ITEM, BurnedTower1FHiddenUltraBall
db 5 ; object events
def_object_events
object_event 15, 4, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BurnedTower1FRock, -1
object_event 12, 12, SPRITE_SUPER_NERD, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BurnedTower1FEusineScript, EVENT_BURNED_TOWER_1F_EUSINE
object_event 8, 9, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, ObjectEvent, EVENT_RIVAL_BURNED_TOWER

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const BURNEDTOWERB1F_BOULDER
const BURNEDTOWERB1F_RAIKOU1
const BURNEDTOWERB1F_ENTEI1
@ -10,11 +10,11 @@
const BURNEDTOWERB1F_EUSINE
BurnedTowerB1F_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_FINISHED
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_TILES, .LadderCallback
.DummyScene0:
@ -237,7 +237,7 @@ BurnedTowerB1FEusineText:
BurnedTowerB1F_MapEvents:
db 0, 0 ; filler
db 6 ; warp events
def_warp_events
warp_event 10, 9, BURNED_TOWER_1F, 3
warp_event 17, 7, BURNED_TOWER_1F, 7
warp_event 10, 8, BURNED_TOWER_1F, 9
@ -245,12 +245,12 @@ BurnedTowerB1F_MapEvents:
warp_event 17, 14, BURNED_TOWER_1F, 12
warp_event 7, 15, BURNED_TOWER_1F, 14
db 1 ; coord events
def_coord_events
coord_event 10, 6, SCENE_DEFAULT, ReleaseTheBeasts
db 0 ; bg events
def_bg_events
db 9 ; object events
def_object_events
object_event 17, 8, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BurnedTowerB1FBoulder, -1
object_event 7, 3, SPRITE_RAIKOU, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_1
object_event 12, 3, SPRITE_ENTEI, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_BURNED_TOWER_B1F_BEASTS_1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CELADONCAFE_SUPER_NERD
const CELADONCAFE_FISHER1
const CELADONCAFE_FISHER2
@ -6,9 +6,9 @@
const CELADONCAFE_TEACHER
CeladonCafe_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonCafeChef:
faceplayer
@ -208,17 +208,17 @@ NoRoomForLeftoversText:
CeladonCafe_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 6, 7, CELADON_CITY, 9
warp_event 7, 7, CELADON_CITY, 9
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 5, 0, BGEVENT_READ, EatathonContestPoster
bg_event 7, 1, BGEVENT_READ, CeladonCafeTrashcan
db 5 ; object events
def_object_events
object_event 9, 3, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CeladonCafeChef, -1
object_event 4, 6, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonCafeFisher1, -1
object_event 1, 7, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonCafeFisher2, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CELADONCITY_FISHER
const CELADONCITY_POLIWAG
const CELADONCITY_TEACHER1
@ -10,9 +10,9 @@
const CELADONCITY_LASS
CeladonCity_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
@ -248,7 +248,7 @@ CeladonCityTrainerTipsText:
CeladonCity_MapEvents:
db 0, 0 ; filler
db 9 ; warp events
def_warp_events
warp_event 4, 9, CELADON_DEPT_STORE_1F, 1
warp_event 16, 9, CELADON_MANSION_1F, 1
warp_event 16, 3, CELADON_MANSION_1F, 3
@ -259,9 +259,9 @@ CeladonCity_MapEvents:
warp_event 10, 29, CELADON_GYM, 1
warp_event 25, 29, CELADON_CAFE, 1
db 0 ; coord events
def_coord_events
db 8 ; bg events
def_bg_events
bg_event 23, 21, BGEVENT_READ, CeladonCitySign
bg_event 11, 31, BGEVENT_READ, CeladonGymSign
bg_event 6, 9, BGEVENT_READ, CeladonCityDeptStoreSign
@ -271,7 +271,7 @@ CeladonCity_MapEvents:
bg_event 30, 9, BGEVENT_READ, CeladonCityPokecenterSign
bg_event 37, 21, BGEVENT_ITEM, CeladonCityHiddenPpUp
db 9 ; object events
def_object_events
object_event 26, 11, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonCityFisherScript, -1
object_event 27, 11, SPRITE_POLIWAG, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonCityPoliwrath, -1
object_event 20, 24, SPRITE_TEACHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonCityTeacher1Script, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const CELADONDEPTSTORE1F_RECEPTIONIST
const CELADONDEPTSTORE1F_GENTLEMAN
const CELADONDEPTSTORE1F_TEACHER
CeladonDeptStore1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonDeptStore1FReceptionistScript:
jumptextfaceplayer CeladonDeptStore1FReceptionistText
@ -74,19 +74,19 @@ CeladonDeptStore1FDirectoryText:
CeladonDeptStore1F_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
def_warp_events
warp_event 7, 7, CELADON_CITY, 1
warp_event 8, 7, CELADON_CITY, 1
warp_event 15, 0, CELADON_DEPT_STORE_2F, 2
warp_event 2, 0, CELADON_DEPT_STORE_ELEVATOR, 1
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 14, 0, BGEVENT_READ, CeladonDeptStore1FDirectory
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore1FElevatorButton
db 3 ; object events
def_object_events
object_event 10, 1, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore1FReceptionistScript, -1
object_event 11, 4, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore1FGentlemanScript, -1
object_event 5, 3, SPRITE_TEACHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore1FTeacherScript, -1

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const CELADONDEPTSTORE2F_CLERK1
const CELADONDEPTSTORE2F_CLERK2
const CELADONDEPTSTORE2F_POKEFAN_M
const CELADONDEPTSTORE2F_YOUNGSTER
CeladonDeptStore2F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonDeptStore2FClerk1Script:
faceplayer
@ -69,18 +69,18 @@ CeladonDeptStore2FDirectoryText:
CeladonDeptStore2F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 12, 0, CELADON_DEPT_STORE_3F, 1
warp_event 15, 0, CELADON_DEPT_STORE_1F, 3
warp_event 2, 0, CELADON_DEPT_STORE_ELEVATOR, 1
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 14, 0, BGEVENT_READ, CeladonDeptStore2FDirectory
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore2FElevatorButton
db 4 ; object events
def_object_events
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore2FClerk1Script, -1
object_event 14, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore2FClerk2Script, -1
object_event 5, 2, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore2FPokefanMScript, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CELADONDEPTSTORE3F_CLERK
const CELADONDEPTSTORE3F_YOUNGSTER
const CELADONDEPTSTORE3F_GAMEBOY_KID1
@ -6,9 +6,9 @@
const CELADONDEPTSTORE3F_SUPER_NERD
CeladonDeptStore3F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonDeptStore3FClerkScript:
faceplayer
@ -95,18 +95,18 @@ CeladonDeptStore3FDirectoryText:
CeladonDeptStore3F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 12, 0, CELADON_DEPT_STORE_2F, 1
warp_event 15, 0, CELADON_DEPT_STORE_4F, 2
warp_event 2, 0, CELADON_DEPT_STORE_ELEVATOR, 1
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 14, 0, BGEVENT_READ, CeladonDeptStore3FDirectory
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore3FElevatorButton
db 5 ; object events
def_object_events
object_event 7, 1, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FClerkScript, -1
object_event 6, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FYoungsterScript, -1
object_event 9, 1, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FGameboyKid1Script, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const CELADONDEPTSTORE4F_CLERK
const CELADONDEPTSTORE4F_SUPER_NERD
const CELADONDEPTSTORE4F_YOUNGSTER
CeladonDeptStore4F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonDeptStore4FClerkScript:
faceplayer
@ -51,18 +51,18 @@ CeladonDeptStore4FDirectoryText:
CeladonDeptStore4F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 12, 0, CELADON_DEPT_STORE_5F, 1
warp_event 15, 0, CELADON_DEPT_STORE_3F, 2
warp_event 2, 0, CELADON_DEPT_STORE_ELEVATOR, 1
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 14, 0, BGEVENT_READ, CeladonDeptStore4FDirectory
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore4FElevatorButton
db 3 ; object events
def_object_events
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore4FClerkScript, -1
object_event 7, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore4FSuperNerdScript, -1
object_event 8, 2, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore4FYoungsterScript, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CELADONDEPTSTORE5F_CLERK1
const CELADONDEPTSTORE5F_CLERK2
const CELADONDEPTSTORE5F_GENTLEMAN
@ -6,9 +6,9 @@
const CELADONDEPTSTORE5F_TEACHER
CeladonDeptStore5F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonDeptStore5FClerk1Script:
faceplayer
@ -72,18 +72,18 @@ CeladonDeptStore5FDirectoryText:
CeladonDeptStore5F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 12, 0, CELADON_DEPT_STORE_4F, 1
warp_event 15, 0, CELADON_DEPT_STORE_6F, 1
warp_event 2, 0, CELADON_DEPT_STORE_ELEVATOR, 1
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 14, 0, BGEVENT_READ, CeladonDeptStore5FDirectory
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore5FElevatorButton
db 5 ; object events
def_object_events
object_event 7, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore5FClerk1Script, -1
object_event 8, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore5FClerk2Script, -1
object_event 13, 5, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore5FGentlemanScript, -1

View File

@ -2,14 +2,14 @@ CELADONDEPTSTORE6F_FRESH_WATER_PRICE EQU 200
CELADONDEPTSTORE6F_SODA_POP_PRICE EQU 300
CELADONDEPTSTORE6F_LEMONADE_PRICE EQU 350
object_const_def ; object_event constants
object_const_def
const CELADONDEPTSTORE6F_SUPER_NERD
const CELADONDEPTSTORE6F_YOUNGSTER
CeladonDeptStore6F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_TILES, .HideRooftopStairs
.HideRooftopStairs:
@ -150,13 +150,13 @@ CeladonDeptStore6FDirectoryText:
CeladonDeptStore6F_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 15, 0, CELADON_DEPT_STORE_5F, 2
warp_event 2, 0, CELADON_DEPT_STORE_ELEVATOR, 1
db 0 ; coord events
def_coord_events
db 6 ; bg events
def_bg_events
bg_event 14, 0, BGEVENT_READ, CeladonDeptStore6FDirectory
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore1FElevatorButton
bg_event 8, 1, BGEVENT_UP, CeladonDeptStore6FVendingMachine
@ -164,6 +164,6 @@ CeladonDeptStore6F_MapEvents:
bg_event 10, 1, BGEVENT_UP, CeladonDeptStore6FVendingMachine
bg_event 11, 1, BGEVENT_UP, CeladonDeptStore6FVendingMachine
db 2 ; object events
def_object_events
object_event 9, 2, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore6FSuperNerdScript, -1
object_event 12, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 2, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore6FYoungsterScript, -1

View File

@ -1,7 +1,7 @@
CeladonDeptStoreElevator_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonDeptStoreElevatorScript:
opentext
@ -28,13 +28,13 @@ CeladonDeptStoreElevatorData:
CeladonDeptStoreElevator_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 1, 3, CELADON_DEPT_STORE_1F, -1
warp_event 2, 3, CELADON_DEPT_STORE_1F, -1
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 3, 0, BGEVENT_READ, CeladonDeptStoreElevatorScript
db 0 ; object events
def_object_events

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CELADONGAMECORNER_CLERK
const CELADONGAMECORNER_RECEPTIONIST
const CELADONGAMECORNER_POKEFAN_M
@ -10,9 +10,9 @@
const CELADONGAMECORNER_GRAMPS
CeladonGameCorner_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonGameCornerClerkScript:
jumpstd GameCornerCoinVendorScript
@ -324,13 +324,13 @@ CeladonGameCornerSodaCanText:
CeladonGameCorner_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 14, 13, CELADON_CITY, 6
warp_event 15, 13, CELADON_CITY, 6
db 0 ; coord events
def_coord_events
db 38 ; bg events
def_bg_events
bg_event 1, 6, BGEVENT_READ, CeladonGameCornerCardFlipScript
bg_event 1, 7, BGEVENT_READ, CeladonGameCornerCardFlipScript
bg_event 1, 8, BGEVENT_READ, CeladonGameCornerCardFlipScript
@ -370,7 +370,7 @@ CeladonGameCorner_MapEvents:
bg_event 15, 0, BGEVENT_READ, CeladonGameCornerPoster1Script
bg_event 9, 0, BGEVENT_READ, CeladonGameCornerPoster2Script
db 9 ; object events
def_object_events
object_event 5, 2, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonGameCornerClerkScript, -1
object_event 3, 2, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonGameCornerReceptionistScript, -1
object_event 14, 10, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonGameCornerPokefanMScript, -1

View File

@ -5,14 +5,14 @@ CELADONGAMECORNERPRIZEROOM_PIKACHU_COINS EQU 2222
CELADONGAMECORNERPRIZEROOM_PORYGON_COINS EQU 5555
CELADONGAMECORNERPRIZEROOM_LARVITAR_COINS EQU 8888
object_const_def ; object_event constants
object_const_def
const CELADONGAMECORNERPRIZEROOM_GENTLEMAN
const CELADONGAMECORNERPRIZEROOM_PHARMACIST
CeladonGameCornerPrizeRoom_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonGameCornerPrizeRoomGentlemanScript:
jumptextfaceplayer CeladonGameCornerPrizeRoomGentlemanText
@ -277,16 +277,16 @@ CeladonPrizeRoom_NoCoinCaseText:
CeladonGameCornerPrizeRoom_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 5, CELADON_CITY, 7
warp_event 3, 5, CELADON_CITY, 7
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 2, 1, BGEVENT_READ, CeladonGameCornerPrizeRoomTMVendor
bg_event 4, 1, BGEVENT_READ, CeladonGameCornerPrizeRoomPokemonVendor
db 2 ; object events
def_object_events
object_event 0, 2, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonGameCornerPrizeRoomGentlemanScript, -1
object_event 4, 4, SPRITE_PHARMACIST, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonGameCornerPrizeRoomPharmacistScript, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CELADONGYM_ERIKA
const CELADONGYM_LASS1
const CELADONGYM_LASS2
@ -7,9 +7,9 @@
const CELADONGYM_TWIN2
CeladonGym_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonGymErikaScript:
faceplayer
@ -268,17 +268,17 @@ TwinsJoAndZoe2AfterBattleText:
CeladonGym_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 4, 17, CELADON_CITY, 8
warp_event 5, 17, CELADON_CITY, 8
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 3, 15, BGEVENT_READ, CeladonGymStatue
bg_event 6, 15, BGEVENT_READ, CeladonGymStatue
db 6 ; object events
def_object_events
object_event 5, 3, SPRITE_ERIKA, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonGymErikaScript, -1
object_event 7, 8, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerLassMichelle, -1
object_event 2, 8, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerPicnickerTanya, -1

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const CELADONMANSION1F_GRANNY
const CELADONMANSION1F_GROWLITHE1
const CELADONMANSION1F_CLEFAIRY
const CELADONMANSION1F_GROWLITHE2
CeladonMansion1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonMansionManager:
jumptextfaceplayer CeladonMansionManagerText
@ -75,21 +75,21 @@ CeladonMansionManagersSuiteSignText:
CeladonMansion1F_MapEvents:
db 0, 0 ; filler
db 5 ; warp events
def_warp_events
warp_event 6, 9, CELADON_CITY, 2
warp_event 7, 9, CELADON_CITY, 2
warp_event 3, 0, CELADON_CITY, 3
warp_event 0, 0, CELADON_MANSION_2F, 1
warp_event 7, 0, CELADON_MANSION_2F, 4
db 0 ; coord events
def_coord_events
db 3 ; bg events
def_bg_events
bg_event 5, 8, BGEVENT_UP, CeladonMansionManagersSuiteSign
bg_event 0, 3, BGEVENT_READ, CeladonMansion1FBookshelf
bg_event 2, 3, BGEVENT_READ, CeladonMansion1FBookshelf
db 4 ; object events
def_object_events
object_event 1, 5, SPRITE_GRANNY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonMansionManager, -1
object_event 2, 6, SPRITE_GROWLITHE, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonMansion1FMeowth, -1
object_event 3, 4, SPRITE_CLEFAIRY, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonMansion1FClefairy, -1

View File

@ -1,7 +1,7 @@
CeladonMansion2F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonMansion2FComputer:
jumptext CeladonMansion2FComputerText
@ -50,17 +50,17 @@ CeladonMansion2FMeetingRoomSignText:
CeladonMansion2F_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
def_warp_events
warp_event 0, 0, CELADON_MANSION_1F, 4
warp_event 1, 0, CELADON_MANSION_3F, 2
warp_event 6, 0, CELADON_MANSION_3F, 3
warp_event 7, 0, CELADON_MANSION_1F, 5
db 0 ; coord events
def_coord_events
db 3 ; bg events
def_bg_events
bg_event 0, 3, BGEVENT_READ, CeladonMansion2FComputer
bg_event 5, 8, BGEVENT_UP, CeladonMansion2FMeetingRoomSign
bg_event 2, 3, BGEVENT_READ, CeladonMansion2FBookshelf
db 0 ; object events
def_object_events

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const CELADONMANSION3F_COOLTRAINER_M
const CELADONMANSION3F_GYM_GUIDE
const CELADONMANSION3F_SUPER_NERD
const CELADONMANSION3F_FISHER
CeladonMansion3F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
GameFreakGameDesignerScript:
faceplayer
@ -191,21 +191,21 @@ CeladonMansion3FReferenceMaterialText:
CeladonMansion3F_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
def_warp_events
warp_event 0, 0, CELADON_MANSION_ROOF, 1
warp_event 1, 0, CELADON_MANSION_2F, 2
warp_event 6, 0, CELADON_MANSION_2F, 3
warp_event 7, 0, CELADON_MANSION_ROOF, 2
db 0 ; coord events
def_coord_events
db 4 ; bg events
def_bg_events
bg_event 5, 8, BGEVENT_UP, CeladonMansion3FDevRoomSign
bg_event 4, 3, BGEVENT_UP, CeladonMansion3FDrawing
bg_event 1, 6, BGEVENT_UP, CeladonMansion3FGameProgram
bg_event 1, 3, BGEVENT_UP, CeladonMansion3FReferenceMaterial
db 4 ; object events
def_object_events
object_event 3, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GameFreakGameDesignerScript, -1
object_event 3, 4, SPRITE_GYM_GUIDE, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GameFreakGraphicArtistScript, -1
object_event 0, 7, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GameFreakProgrammerScript, -1

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const CELADONMANSIONROOF_FISHER
CeladonMansionRoof_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonMansionRoofFisherScript:
jumptextfaceplayer CeladonMansionRoofFisherText
@ -34,15 +34,15 @@ CeladonMansionRoofGraffitiText:
CeladonMansionRoof_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 1, 1, CELADON_MANSION_3F, 1
warp_event 6, 1, CELADON_MANSION_3F, 4
warp_event 2, 5, CELADON_MANSION_ROOF_HOUSE, 1
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 6, 1, BGEVENT_LEFT, CeladonMansionRoofGraffiti
db 1 ; object events
def_object_events
object_event 7, 5, SPRITE_FISHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonMansionRoofFisherScript, -1

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const CELADONMANSIONROOFHOUSE_PHARMACIST
CeladonMansionRoofHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonMansionRoofHousePharmacistScript:
faceplayer
@ -117,13 +117,13 @@ CeladonMansionRoofHousePharmacistCurseText:
CeladonMansionRoofHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CELADON_MANSION_ROOF, 3
warp_event 3, 7, CELADON_MANSION_ROOF, 3
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 1 ; object events
def_object_events
object_event 3, 2, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonMansionRoofHousePharmacistScript, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CELADONPOKECENTER1F_NURSE
const CELADONPOKECENTER1F_GENTLEMAN
const CELADONPOKECENTER1F_PHARMACIST
@ -6,9 +6,9 @@
const CELADONPOKECENTER1F_EUSINE
CeladonPokecenter1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
@ -146,16 +146,16 @@ NoBeastsText:
CeladonPokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 3, 7, CELADON_CITY, 5
warp_event 4, 7, CELADON_CITY, 5
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 5 ; object events
def_object_events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FNurseScript, -1
object_event 1, 5, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FGentlemanScript, -1
object_event 0, 3, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FPharmacistScript, -1

View File

@ -1,16 +1,16 @@
CeladonPokecenter2FBeta_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonPokecenter2FBeta_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
def_warp_events
warp_event 0, 7, CELADON_POKECENTER_1F, 3
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 0 ; object events
def_object_events

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CERULEANCITY_COOLTRAINER_M
const CERULEANCITY_SUPER_NERD
const CERULEANCITY_SLOWPOKE
@ -7,9 +7,9 @@
const CERULEANCITY_YOUNGSTER
CeruleanCity_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
@ -276,7 +276,7 @@ CeruleanLockedDoorText:
CeruleanCity_MapEvents:
db 0, 0 ; filler
db 6 ; warp events
def_warp_events
warp_event 7, 15, CERULEAN_GYM_BADGE_SPEECH_HOUSE, 1
warp_event 28, 17, CERULEAN_POLICE_STATION, 1
warp_event 13, 19, CERULEAN_TRADE_SPEECH_HOUSE, 1
@ -284,9 +284,9 @@ CeruleanCity_MapEvents:
warp_event 30, 23, CERULEAN_GYM, 1
warp_event 25, 29, CERULEAN_MART, 2
db 0 ; coord events
def_coord_events
db 9 ; bg events
def_bg_events
bg_event 23, 23, BGEVENT_READ, CeruleanCitySign
bg_event 27, 25, BGEVENT_READ, CeruleanGymSign
bg_event 11, 29, BGEVENT_READ, CeruleanBikeShopSign
@ -297,7 +297,7 @@ CeruleanCity_MapEvents:
bg_event 26, 29, BGEVENT_READ, CeruleanCityMartSign
bg_event 2, 12, BGEVENT_ITEM, CeruleanCityHiddenBerserkGene
db 6 ; object events
def_object_events
object_event 15, 23, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanCityCooltrainerMScript, -1
object_event 23, 15, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanCitySuperNerdScript, -1
object_event 20, 24, SPRITE_SLOWPOKE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanCitySlowbro, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CERULEANGYM_ROCKET
const CERULEANGYM_MISTY
const CERULEANGYM_SWIMMER_GIRL1
@ -7,11 +7,11 @@
const CERULEANGYM_GYM_GUIDE
CeruleanGym_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .DummyScene0 ; SCENE_CERULEANGYM_NOTHING
scene_script .GruntRunsOut ; SCENE_CERULEANGYM_GRUNT_RUNS_OUT
db 0 ; callbacks
def_callbacks
.DummyScene0:
end
@ -363,18 +363,18 @@ CeruleanGymGuideWinText:
CeruleanGym_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 4, 15, CERULEAN_CITY, 5
warp_event 5, 15, CERULEAN_CITY, 5
db 0 ; coord events
def_coord_events
db 3 ; bg events
def_bg_events
bg_event 3, 8, BGEVENT_ITEM, CeruleanGymHiddenMachinePart
bg_event 2, 13, BGEVENT_READ, CeruleanGymStatue1
bg_event 6, 13, BGEVENT_READ, CeruleanGymStatue2
db 6 ; object events
def_object_events
object_event 4, 10, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_CERULEAN_GYM_ROCKET
object_event 5, 3, SPRITE_MISTY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeruleanGymMistyScript, EVENT_TRAINERS_IN_CERULEAN_GYM
object_event 4, 6, SPRITE_SWIMMER_GIRL, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerSwimmerfDiana, EVENT_TRAINERS_IN_CERULEAN_GYM

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const CERULEANGYMBADGESPEECHHOUSE_POKEFAN_M
CeruleanGymBadgeSpeechHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeruleanGymBadgeSpeechHousePokefanMScript:
jumptextfaceplayer CeruleanGymBadgeSpeechHousePokefanMText
@ -17,13 +17,13 @@ CeruleanGymBadgeSpeechHousePokefanMText:
CeruleanGymBadgeSpeechHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CERULEAN_CITY, 1
warp_event 3, 7, CERULEAN_CITY, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 1 ; object events
def_object_events
object_event 2, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanGymBadgeSpeechHousePokefanMScript, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const CERULEANMART_CLERK
const CERULEANMART_COOLTRAINER_M
const CERULEANMART_COOLTRAINER_F
CeruleanMart_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeruleanMart_Clerk:
opentext
@ -46,15 +46,15 @@ CeruleanMart_CooltrainerFText:
CeruleanMart_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CERULEAN_CITY, 6
warp_event 3, 7, CERULEAN_CITY, 6
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanMart_Clerk, -1
object_event 1, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeruleanMart_CooltrainerM, -1
object_event 7, 2, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeruleanMart_CooltrainerF, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const CERULEANPOKECENTER1F_NURSE
const CERULEANPOKECENTER1F_SUPER_NERD
const CERULEANPOKECENTER1F_GYM_GUIDE
CeruleanPokecenter1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeruleanPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
@ -63,16 +63,16 @@ CeruleanPokecenter1FGymGuideText:
CeruleanPokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 3, 7, CERULEAN_CITY, 4
warp_event 4, 7, CERULEAN_CITY, 4
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanPokecenter1FNurseScript, -1
object_event 8, 4, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanPokecenter1FSuperNerdScript, -1
object_event 1, 5, SPRITE_GYM_GUIDE, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeruleanPokecenter1FGymGuideScript, -1

View File

@ -1,16 +1,16 @@
CeruleanPokecenter2FBeta_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeruleanPokecenter2FBeta_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
def_warp_events
warp_event 0, 7, CERULEAN_POKECENTER_1F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 0 ; object events
def_object_events

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const CERULEANPOLICESTATION_FISHING_GURU
const CERULEANPOLICESTATION_POKEFAN_F
const CERULEANPOLICESTATION_DIGLETT
CeruleanPoliceStation_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeruleanPoliceStationFishingGuruScript:
jumptextfaceplayer CeruleanPoliceStationFishingGuruText
@ -44,15 +44,15 @@ CeruleanDiglettText:
CeruleanPoliceStation_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CERULEAN_CITY, 2
warp_event 3, 7, CERULEAN_CITY, 2
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 5, 1, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeruleanPoliceStationFishingGuruScript, -1
object_event 5, 4, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanPoliceStationPokefanFScript, -1
object_event 3, 5, SPRITE_DIGLETT, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CeruleanDiglett, -1

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const CERULEANTRADESPEECHHOUSE_GRANNY
const CERULEANTRADESPEECHHOUSE_GRAMPS
const CERULEANTRADESPEECHHOUSE_RHYDON
const CERULEANTRADESPEECHHOUSE_ZUBAT
CeruleanTradeSpeechHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeruleanTradeSpeechHouseGrannyScript:
jumptextfaceplayer CeruleanTradeSpeechHouseGrannyText
@ -54,15 +54,15 @@ CeruleanTradeSpeechHouseZubatText:
CeruleanTradeSpeechHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CERULEAN_CITY, 3
warp_event 3, 7, CERULEAN_CITY, 3
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 4 ; object events
def_object_events
object_event 2, 4, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanTradeSpeechHouseGrannyScript, -1
object_event 1, 2, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeruleanTradeSpeechHouseGrampsScript, -1
object_event 5, 2, SPRITE_RHYDON, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CeruleanTradeSpeechHouseRhydonScript, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const CHARCOALKILN_BLACK_BELT
const CHARCOALKILN_YOUNGSTER
const CHARCOALKILN_MOLTRES
CharcoalKiln_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CharcoalKilnBoss:
faceplayer
@ -149,18 +149,18 @@ FarfetchdText:
CharcoalKiln_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, AZALEA_TOWN, 2
warp_event 3, 7, AZALEA_TOWN, 2
db 0 ; coord events
def_coord_events
db 3 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, CharcoalKilnBookshelf
bg_event 1, 1, BGEVENT_READ, CharcoalKilnBookshelf
bg_event 7, 1, BGEVENT_READ, CharcoalKilnRadio
db 3 ; object events
def_object_events
object_event 2, 3, SPRITE_BLACK_BELT, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CharcoalKilnBoss, EVENT_CHARCOAL_KILN_BOSS
object_event 5, 3, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CharcoalKilnApprentice, EVENT_CHARCOAL_KILN_APPRENTICE
object_event 5, 6, SPRITE_MOLTRES, SPRITEMOVEDATA_POKEMON, 2, 2, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CharcoalKilnFarfetchd, EVENT_CHARCOAL_KILN_FARFETCH_D

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CHERRYGROVECITY_GRAMPS
const CHERRYGROVECITY_SILVER
const CHERRYGROVECITY_TEACHER
@ -6,11 +6,11 @@
const CHERRYGROVECITY_FISHER
CherrygroveCity_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .DummyScene0 ; SCENE_CHERRYGROVECITY_NOTHING
scene_script .DummyScene1 ; SCENE_CHERRYGROVECITY_MEET_RIVAL
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.DummyScene0:
@ -547,24 +547,24 @@ GuideGentsHouseSignText:
CherrygroveCity_MapEvents:
db 0, 0 ; filler
db 5 ; warp events
def_warp_events
warp_event 23, 3, CHERRYGROVE_MART, 2
warp_event 29, 3, CHERRYGROVE_POKECENTER_1F, 1
warp_event 17, 7, CHERRYGROVE_GYM_SPEECH_HOUSE, 1
warp_event 25, 9, GUIDE_GENTS_HOUSE, 1
warp_event 31, 11, CHERRYGROVE_EVOLUTION_SPEECH_HOUSE, 1
db 2 ; coord events
def_coord_events
coord_event 33, 6, SCENE_CHERRYGROVECITY_MEET_RIVAL, CherrygroveSilverSceneNorth
coord_event 33, 7, SCENE_CHERRYGROVECITY_MEET_RIVAL, CherrygroveSilverSceneSouth
db 4 ; bg events
def_bg_events
bg_event 30, 8, BGEVENT_READ, CherrygroveCitySign
bg_event 23, 9, BGEVENT_READ, GuideGentsHouseSign
bg_event 24, 3, BGEVENT_READ, CherrygroveCityMartSign
bg_event 30, 3, BGEVENT_READ, CherrygroveCityPokecenterSign
db 5 ; object events
def_object_events
object_event 32, 6, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygroveCityGuideGent, EVENT_GUIDE_GENT_IN_HIS_HOUSE
object_event 39, 6, SPRITE_SILVER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_CHERRYGROVE_CITY
object_event 27, 12, SPRITE_TEACHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CherrygroveTeacherScript, -1

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const CHERRYGROVEEVOLUTIONSPEECHHOUSE_LASS
const CHERRYGROVEEVOLUTIONSPEECHHOUSE_YOUNGSTER
CherrygroveEvolutionSpeechHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CherrygroveEvolutionSpeechHouseYoungsterScript:
opentext
@ -42,16 +42,16 @@ CherrygroveEvolutionSpeechHouseLassText:
CherrygroveEvolutionSpeechHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CHERRYGROVE_CITY, 5
warp_event 3, 7, CHERRYGROVE_CITY, 5
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, CherrygroveEvolutionSpeechHouseBookshelf
bg_event 1, 1, BGEVENT_READ, CherrygroveEvolutionSpeechHouseBookshelf
db 2 ; object events
def_object_events
object_event 3, 5, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CherrygroveEvolutionSpeechHouseLassScript, -1
object_event 2, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CherrygroveEvolutionSpeechHouseYoungsterScript, -1

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const CHERRYGROVEGYMSPEECHHOUSE_POKEFAN_M
const CHERRYGROVEGYMSPEECHHOUSE_BUG_CATCHER
CherrygroveGymSpeechHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CherrygroveGymSpeechHousePokefanMScript:
jumptextfaceplayer CherrygroveGymSpeechHousePokefanMText
@ -45,16 +45,16 @@ CherrygroveGymSpeechHouseBugCatcherText:
CherrygroveGymSpeechHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CHERRYGROVE_CITY, 3
warp_event 3, 7, CHERRYGROVE_CITY, 3
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, CherrygroveGymSpeechHouseBookshelf
bg_event 1, 1, BGEVENT_READ, CherrygroveGymSpeechHouseBookshelf
db 2 ; object events
def_object_events
object_event 2, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygroveGymSpeechHousePokefanMScript, -1
object_event 5, 5, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CherrygroveGymSpeechHouseBugCatcherScript, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const CHERRYGROVEMART_CLERK
const CHERRYGROVEMART_COOLTRAINER_M
const CHERRYGROVEMART_YOUNGSTER
CherrygroveMart_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CherrygroveMartClerkScript:
opentext
@ -72,15 +72,15 @@ CherrygroveMartYoungsterText:
CherrygroveMart_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CHERRYGROVE_CITY, 1
warp_event 3, 7, CHERRYGROVE_CITY, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygroveMartClerkScript, -1
object_event 7, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygroveMartCooltrainerMScript, -1
object_event 2, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CherrygroveMartYoungsterScript, -1

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const CHERRYGROVEPOKECENTER1F_NURSE
const CHERRYGROVEPOKECENTER1F_FISHER
const CHERRYGROVEPOKECENTER1F_GENTLEMAN
const CHERRYGROVEPOKECENTER1F_TEACHER
CherrygrovePokecenter1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CherrygrovePokecenter1FNurseScript:
jumpstd PokecenterNurseScript
@ -69,16 +69,16 @@ CherrygrovePokecenter1FTeacherText_CommCenterOpen:
CherrygrovePokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 3, 7, CHERRYGROVE_CITY, 2
warp_event 4, 7, CHERRYGROVE_CITY, 2
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 4 ; object events
def_object_events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FNurseScript, -1
object_event 2, 3, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FFisherScript, -1
object_event 8, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FGentlemanScript, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CIANWOODCITY_STANDING_YOUNGSTER
const CIANWOODCITY_POKEFAN_M
const CIANWOODCITY_LASS
@ -13,11 +13,11 @@
const CIANWOODCITY_SUICUNE
CianwoodCity_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .DummyScene0 ; SCENE_CIANWOODCITY_NOTHING
scene_script .DummyScene1 ; SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPointAndSuicune
.DummyScene0:
@ -382,7 +382,7 @@ CianwoodPokeSeerSignText:
CianwoodCity_MapEvents:
db 0, 0 ; filler
db 7 ; warp events
def_warp_events
warp_event 17, 41, MANIAS_HOUSE, 1
warp_event 8, 43, CIANWOOD_GYM, 1
warp_event 23, 43, CIANWOOD_POKECENTER_1F, 1
@ -391,10 +391,10 @@ CianwoodCity_MapEvents:
warp_event 15, 37, CIANWOOD_LUGIA_SPEECH_HOUSE, 1
warp_event 5, 17, POKE_SEERS_HOUSE, 1
db 1 ; coord events
def_coord_events
coord_event 11, 16, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE, CianwoodCitySuicuneAndEusine
db 8 ; bg events
def_bg_events
bg_event 20, 34, BGEVENT_READ, CianwoodCitySign
bg_event 7, 45, BGEVENT_READ, CianwoodGymSign
bg_event 24, 43, BGEVENT_READ, CianwoodPokecenterSign
@ -404,7 +404,7 @@ CianwoodCity_MapEvents:
bg_event 4, 19, BGEVENT_ITEM, CianwoodCityHiddenRevive
bg_event 5, 29, BGEVENT_ITEM, CianwoodCityHiddenMaxEther
db 12 ; object events
def_object_events
object_event 21, 37, SPRITE_STANDING_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CianwoodCityYoungster, -1
object_event 17, 33, SPRITE_POKEFAN_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityPokefanM, -1
object_event 14, 42, SPRITE_LASS, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityLass, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const CIANWOODGYM_CHUCK
const CIANWOODGYM_BLACK_BELT1
const CIANWOODGYM_BLACK_BELT2
@ -10,9 +10,9 @@
const CIANWOODGYM_BOULDER4
CianwoodGym_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CianwoodGymChuckScript:
faceplayer
@ -306,17 +306,17 @@ BlackbeltLungAfterText:
CianwoodGym_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 4, 17, CIANWOOD_CITY, 2
warp_event 5, 17, CIANWOOD_CITY, 2
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 3, 15, BGEVENT_READ, CianwoodGymStatue
bg_event 6, 15, BGEVENT_READ, CianwoodGymStatue
db 9 ; object events
def_object_events
object_event 4, 1, SPRITE_CHUCK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CianwoodGymChuckScript, -1
object_event 2, 12, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerBlackbeltYoshi, -1
object_event 7, 12, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerBlackbeltLao, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const CIANWOODLUGIASPEECHHOUSE_TEACHER
const CIANWOODLUGIASPEECHHOUSE_LASS
const CIANWOODLUGIASPEECHHOUSE_TWIN
CianwoodLugiaSpeechHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CianwoodLugiaSpeechHouseTeacherScript:
jumptextfaceplayer CianwoodLugiaSpeechHouseTeacherText
@ -62,17 +62,17 @@ CianwoodLugiaSpeechHouseTwinText:
CianwoodLugiaSpeechHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CIANWOOD_CITY, 6
warp_event 3, 7, CIANWOOD_CITY, 6
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, CianwoodLugiaSpeechHouseBookshelf
bg_event 1, 1, BGEVENT_READ, CianwoodLugiaSpeechHouseBookshelf
db 3 ; object events
def_object_events
object_event 2, 4, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodLugiaSpeechHouseTeacherScript, -1
object_event 6, 5, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CianwoodLugiaSpeechHouseLassScript, -1
object_event 0, 2, SPRITE_TWIN, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CianwoodLugiaSpeechHouseTwinScript, -1

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const CIANWOODPHARMACY_PHARMACIST
CianwoodPharmacy_MapScripts:
db 1 ; scene scripts
def_scene_scripts
scene_script .DummyScene
db 0 ; callbacks
def_callbacks
.DummyScene:
end
@ -73,15 +73,15 @@ PharmacistDescribeSecretpotionText:
CianwoodPharmacy_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CIANWOOD_CITY, 4
warp_event 3, 7, CIANWOOD_CITY, 4
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, CianwoodPharmacyBookshelf
bg_event 1, 1, BGEVENT_READ, CianwoodPharmacyBookshelf
db 1 ; object events
def_object_events
object_event 2, 3, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CianwoodPharmacist, -1

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const CIANWOODPHOTOSTUDIO_FISHING_GURU
CianwoodPhotoStudio_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CianwoodPhotoStudioFishingGuruScript:
faceplayer
@ -49,13 +49,13 @@ CianwoodPhotoStudioFishingGuruText_No:
CianwoodPhotoStudio_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, CIANWOOD_CITY, 5
warp_event 3, 7, CIANWOOD_CITY, 5
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 1 ; object events
def_object_events
object_event 2, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CianwoodPhotoStudioFishingGuruScript, -1

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const CIANWOODPOKECENTER1F_NURSE
const CIANWOODPOKECENTER1F_LASS
const CIANWOODPOKECENTER1F_GYM_GUIDE
const CIANWOODPOKECENTER1F_SUPER_NERD
CianwoodPokecenter1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CianwoodPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
@ -134,16 +134,16 @@ CianwoodPokecenter1FSuperNerdText:
CianwoodPokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 3, 7, CIANWOOD_CITY, 3
warp_event 4, 7, CIANWOOD_CITY, 3
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 4 ; object events
def_object_events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodPokecenter1FNurseScript, -1
object_event 1, 5, SPRITE_LASS, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CianwoodPokecenter1FLassScript, -1
object_event 5, 3, SPRITE_GYM_GUIDE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CianwoodGymGuideScript, -1

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const CINNABARISLAND_BLUE
CinnabarIsland_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
@ -128,16 +128,16 @@ CinnabarIslandSignText:
CinnabarIsland_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
def_warp_events
warp_event 11, 11, CINNABAR_POKECENTER_1F, 1
db 0 ; coord events
def_coord_events
db 4 ; bg events
def_bg_events
bg_event 12, 11, BGEVENT_READ, CinnabarIslandPokecenterSign
bg_event 9, 11, BGEVENT_READ, CinnabarIslandGymSign
bg_event 7, 7, BGEVENT_READ, CinnabarIslandSign
bg_event 9, 1, BGEVENT_ITEM, CinnabarIslandHiddenRareCandy
db 1 ; object events
def_object_events
object_event 9, 6, SPRITE_BLUE, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CinnabarIslandBlue, EVENT_BLUE_IN_CINNABAR

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const CINNABARPOKECENTER1F_NURSE
const CINNABARPOKECENTER1F_COOLTRAINER_F
const CINNABARPOKECENTER1F_FISHER
CinnabarPokecenter1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CinnabarPokecenter1FNurseScript:
jumpstd PokecenterNurseScript
@ -35,16 +35,16 @@ CinnabarPokecenter1FFisherText:
CinnabarPokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 3, 7, CINNABAR_ISLAND, 1
warp_event 4, 7, CINNABAR_ISLAND, 1
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CinnabarPokecenter1FNurseScript, -1
object_event 7, 6, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CinnabarPokecenter1FCooltrainerFScript, -1
object_event 2, 4, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CinnabarPokecenter1FFisherScript, -1

View File

@ -1,16 +1,16 @@
CinnabarPokecenter2FBeta_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CinnabarPokecenter2FBeta_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
def_warp_events
warp_event 0, 7, CINNABAR_POKECENTER_1F, 3
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 0 ; object events
def_object_events

View File

@ -1,14 +1,14 @@
object_const_def ; object_event constants
object_const_def
const COLOSSEUM_CHRIS1
const COLOSSEUM_CHRIS2
Colosseum_MapScripts:
db 3 ; scene scripts
def_scene_scripts
scene_script .InitializeColosseum ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_FINISHED
scene_script .DummyScene2 ; unused
db 2 ; callbacks
def_callbacks
callback MAPCALLBACK_OBJECTS, .SetWhichChris
callback MAPCALLBACK_NEWMAP, .PreparePokecenter2F
@ -63,16 +63,16 @@ CableClubFriendScript:
Colosseum_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 4, 7, POKECENTER_2F, 3
warp_event 5, 7, POKECENTER_2F, 3
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 4, 4, BGEVENT_RIGHT, ColosseumConsoleScript
bg_event 5, 4, BGEVENT_LEFT, ColosseumConsoleScript
db 2 ; object events
def_object_events
object_event 3, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CableClubFriendScript, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
object_event 6, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CableClubFriendScript, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const COPYCATSHOUSE1F_POKEFAN_M
const COPYCATSHOUSE1F_POKEFAN_F
const COPYCATSHOUSE1F_CLEFAIRY
CopycatsHouse1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CopycatsHouse1FPokefanMScript:
jumptextfaceplayer CopycatsHouse1FPokefanMText
@ -73,16 +73,16 @@ CopycatsHouse1FBlisseyText:
CopycatsHouse1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 2, 7, SAFFRON_CITY, 8
warp_event 3, 7, SAFFRON_CITY, 8
warp_event 2, 0, COPYCATS_HOUSE_2F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 2, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CopycatsHouse1FPokefanMScript, -1
object_event 5, 4, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CopycatsHouse1FPokefanFScript, -1
object_event 6, 6, SPRITE_CLEFAIRY, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CopycatsHouse1FBlisseyScript, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const COPYCATSHOUSE2F_COPYCAT1 ; if player is male
const COPYCATSHOUSE2F_DODRIO
const COPYCATSHOUSE2F_FAIRYDOLL ; lost item
@ -7,9 +7,9 @@
const COPYCATSHOUSE2F_COPYCAT2 ; if player is female
CopycatsHouse2F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_OBJECTS, .Callback
.Callback:
@ -361,16 +361,16 @@ CopycatsHouse2FDollText:
CopycatsHouse2F_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
def_warp_events
warp_event 3, 0, COPYCATS_HOUSE_1F, 3
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, CopycatsHouse2FBookshelf
bg_event 1, 1, BGEVENT_READ, CopycatsHouse2FBookshelf
db 6 ; object events
def_object_events
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

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const DANCETHEATRE_KIMONO_GIRL1
const DANCETHEATRE_KIMONO_GIRL2
const DANCETHEATRE_KIMONO_GIRL3
@ -10,9 +10,9 @@
const DANCETHEATRE_GRANNY
DanceTheatre_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
TrainerKimonoGirlNaoko2:
trainer KIMONO_GIRL, NAOKO2, EVENT_BEAT_KIMONO_GIRL_NAOKO, KimonoGirlNaoko2SeenText, KimonoGirlNaoko2BeatenText, 0, .Script
@ -338,17 +338,17 @@ DanceTheatreFancyPanelText:
DanceTheatre_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 5, 13, ECRUTEAK_CITY, 8
warp_event 6, 13, ECRUTEAK_CITY, 8
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 5, 6, BGEVENT_UP, DanceTheatreFancyPanel
bg_event 6, 6, BGEVENT_UP, DanceTheatreFancyPanel
db 9 ; object events
def_object_events
object_event 0, 2, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINCOUNTERCLOCKWISE, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlNaoko2, -1
object_event 2, 1, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlSayo, -1
object_event 6, 2, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlZuki, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const DARKCAVEBLACKTHORNENTRANCE_PHARMACIST
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL1
const DARKCAVEBLACKTHORNENTRANCE_POKE_BALL2
DarkCaveBlackthornEntrance_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
DarkCaveBlackthornEntrancePharmacistScript:
faceplayer
@ -62,15 +62,15 @@ DarkCaveBlackthornEntrancePharmacistText2:
DarkCaveBlackthornEntrance_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 23, 3, ROUTE_45, 1
warp_event 3, 25, DARK_CAVE_VIOLET_ENTRANCE, 2
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 7, 3, SPRITE_PHARMACIST, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DarkCaveBlackthornEntrancePharmacistScript, -1
object_event 21, 24, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, DarkCaveBlackthornEntranceRevive, EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_REVIVE
object_event 7, 22, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, DarkCaveBlackthornEntranceTMSnore, EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_TM_SNORE

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const DARKCAVEVIOLETENTRANCE_POKE_BALL1
const DARKCAVEVIOLETENTRANCE_ROCK1
const DARKCAVEVIOLETENTRANCE_ROCK2
@ -9,9 +9,9 @@
const DARKCAVEVIOLETENTRANCE_POKE_BALL4
DarkCaveVioletEntrance_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
DarkCaveVioletEntrancePotion:
itemball POTION
@ -34,17 +34,17 @@ DarkCaveVioletEntranceHiddenElixer:
DarkCaveVioletEntrance_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 3, 15, ROUTE_31, 3
warp_event 17, 1, DARK_CAVE_BLACKTHORN_ENTRANCE, 2
warp_event 35, 33, ROUTE_46, 3
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 26, 3, BGEVENT_ITEM, DarkCaveVioletEntranceHiddenElixer
db 8 ; object events
def_object_events
object_event 6, 8, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, DarkCaveVioletEntrancePotion, EVENT_DARK_CAVE_VIOLET_ENTRANCE_POTION
object_event 16, 14, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DarkCaveVioletEntranceRock, -1
object_event 27, 6, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DarkCaveVioletEntranceRock, -1

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const DAYCARE_GRAMPS
const DAYCARE_GRANNY
DayCare_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_OBJECTS, .EggCheckCallback
.EggCheckCallback:
@ -156,18 +156,18 @@ DayCareText_PartyFull:
DayCare_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
def_warp_events
warp_event 0, 5, ROUTE_34, 3
warp_event 0, 6, ROUTE_34, 4
warp_event 2, 7, ROUTE_34, 5
warp_event 3, 7, ROUTE_34, 5
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, DayCareBookshelf
bg_event 1, 1, BGEVENT_READ, DayCareBookshelf
db 2 ; object events
def_object_events
object_event 2, 3, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DayCareManScript_Inside, EVENT_DAY_CARE_MAN_IN_DAY_CARE
object_event 5, 3, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, DayCareLadyScript, -1

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const DAYOFWEEKSIBLINGSHOUSE_POKEDEX
DayOfWeekSiblingsHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
DayOfWeekSiblingsHousePokedexScript:
opentext
@ -71,13 +71,13 @@ DayOfWeekSiblingsHousePokedexText3:
DayOfWeekSiblingsHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, ROUTE_26, 3
warp_event 3, 7, ROUTE_26, 3
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 1 ; object events
def_object_events
object_event 3, 3, SPRITE_POKEDEX, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DayOfWeekSiblingsHousePokedexScript, -1

View File

@ -1,10 +1,10 @@
object_const_def ; object_event constants
object_const_def
const DIGLETTSCAVE_POKEFAN_M
DiglettsCave_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
DiglettsCavePokefanMScript:
jumptextfaceplayer DiglettsCavePokefanMText
@ -23,7 +23,7 @@ DiglettsCavePokefanMText:
DiglettsCave_MapEvents:
db 0, 0 ; filler
db 6 ; warp events
def_warp_events
warp_event 3, 33, VERMILION_CITY, 10
warp_event 5, 31, DIGLETTS_CAVE, 5
warp_event 15, 5, ROUTE_2, 5
@ -31,10 +31,10 @@ DiglettsCave_MapEvents:
warp_event 17, 33, DIGLETTS_CAVE, 2
warp_event 3, 3, DIGLETTS_CAVE, 4
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 6, 11, BGEVENT_ITEM, DiglettsCaveHiddenMaxRevive
db 1 ; object events
def_object_events
object_event 3, 31, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DiglettsCavePokefanMScript, -1

View File

@ -1,15 +1,15 @@
object_const_def ; object_event constants
object_const_def
const DRAGONSHRINE_ELDER1
const DRAGONSHRINE_ELDER2
const DRAGONSHRINE_ELDER3
const DRAGONSHRINE_CLAIR
DragonShrine_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .DragonShrineTest ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_FINISHED
db 0 ; callbacks
def_callbacks
.DragonShrineTest:
prioritysjump .DragonShrineTestScript
@ -658,15 +658,15 @@ DragonShrineSpeechlessText:
DragonShrine_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 4, 9, DRAGONS_DEN_B1F, 2
warp_event 5, 9, DRAGONS_DEN_B1F, 2
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 4 ; object events
def_object_events
object_event 5, 1, SPRITE_ELDER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DragonShrineElder1Script, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
object_event 2, 4, SPRITE_ELDER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DragonShrineElder2Script, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
object_event 7, 4, SPRITE_ELDER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DragonShrineElder3Script, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1

View File

@ -1,19 +1,19 @@
DragonsDen1F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
DragonsDen1F_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
def_warp_events
warp_event 3, 5, BLACKTHORN_CITY, 8
warp_event 3, 3, DRAGONS_DEN_1F, 4
warp_event 5, 15, DRAGONS_DEN_B1F, 1
warp_event 5, 13, DRAGONS_DEN_1F, 2
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 0 ; object events
def_object_events

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const DRAGONSDENB1F_POKE_BALL1
const DRAGONSDENB1F_CLAIR
const DRAGONSDENB1F_SILVER
@ -10,11 +10,11 @@
const DRAGONSDENB1F_POKE_BALL3
DragonsDenB1F_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .DummyScene0 ; SCENE_DRAGONSDENB1F_NOTHING
scene_script .DummyScene1 ; SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .CheckSilver
.DummyScene0:
@ -406,20 +406,20 @@ Text_NoRoomForDragonFang:
DragonsDenB1F_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 20, 3, DRAGONS_DEN_1F, 3
warp_event 19, 29, DRAGON_SHRINE, 1
db 1 ; coord events
def_coord_events
coord_event 19, 30, SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM, DragonsDenB1F_ClairScene
db 4 ; bg events
def_bg_events
bg_event 18, 24, BGEVENT_READ, DragonShrineSignpost
bg_event 33, 29, BGEVENT_ITEM, DragonsDenB1FHiddenRevive
bg_event 21, 17, BGEVENT_ITEM, DragonsDenB1FHiddenMaxPotion
bg_event 31, 15, BGEVENT_ITEM, DragonsDenB1FHiddenMaxElixer
db 9 ; object events
def_object_events
object_event 35, 16, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DragonsDenB1FDragonFangScript, EVENT_DRAGONS_DEN_B1F_DRAGON_FANG
object_event 14, 30, SPRITE_CLAIR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_DRAGONS_DEN_CLAIR
object_event 20, 23, SPRITE_SILVER, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DragonsDenB1FSilverScript, EVENT_RIVAL_DRAGONS_DEN

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const EARLSPOKEMONACADEMY_EARL
const EARLSPOKEMONACADEMY_YOUNGSTER1
const EARLSPOKEMONACADEMY_GAMEBOY_KID1
@ -7,9 +7,9 @@
const EARLSPOKEMONACADEMY_POKEDEX
EarlsPokemonAcademy_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
AcademyEarl:
applymovement EARLSPOKEMONACADEMY_EARL, AcademyEarlSpinMovement
@ -412,19 +412,19 @@ AcademyStickerMachineText:
EarlsPokemonAcademy_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 3, 15, VIOLET_CITY, 3
warp_event 4, 15, VIOLET_CITY, 3
db 0 ; coord events
def_coord_events
db 4 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, AcademyBookshelf
bg_event 1, 1, BGEVENT_READ, AcademyBookshelf
bg_event 3, 0, BGEVENT_READ, AcademyBlackboard
bg_event 4, 0, BGEVENT_READ, AcademyBlackboard
db 6 ; object events
def_object_events
object_event 4, 2, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, AcademyEarl, EVENT_EARLS_ACADEMY_EARL
object_event 2, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, EarlsPokemonAcademyYoungster1Script, -1
object_event 3, 11, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EarlsPokemonAcademyGameboyKid1Script, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const ECRUTEAKCITY_GRAMPS1
const ECRUTEAKCITY_GRAMPS2
const ECRUTEAKCITY_LASS1
@ -8,9 +8,9 @@
const ECRUTEAKCITY_GRAMPS3
EcruteakCity_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
@ -260,7 +260,7 @@ BurnedTowerSignText:
EcruteakCity_MapEvents:
db 0, 0 ; filler
db 15 ; warp events
def_warp_events
warp_event 35, 26, ROUTE_42_ECRUTEAK_GATE, 1
warp_event 35, 27, ROUTE_42_ECRUTEAK_GATE, 2
warp_event 18, 11, ECRUTEAK_TIN_TOWER_ENTRANCE, 1
@ -277,9 +277,9 @@ EcruteakCity_MapEvents:
warp_event 0, 18, ROUTE_38_ECRUTEAK_GATE, 3
warp_event 0, 19, ROUTE_38_ECRUTEAK_GATE, 4
db 0 ; coord events
def_coord_events
db 8 ; bg events
def_bg_events
bg_event 15, 21, BGEVENT_READ, EcruteakCitySign
bg_event 38, 10, BGEVENT_READ, TinTowerSign
bg_event 8, 28, BGEVENT_READ, EcruteakGymSign
@ -289,7 +289,7 @@ EcruteakCity_MapEvents:
bg_event 30, 21, BGEVENT_READ, EcruteakCityMartSign
bg_event 23, 14, BGEVENT_ITEM, EcruteakCityHiddenHyperPotion
db 7 ; object events
def_object_events
object_event 18, 15, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakCityGramps1Script, -1
object_event 20, 21, SPRITE_GRAMPS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakCityGramps2Script, -1
object_event 21, 29, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, EcruteakCityLass1Script, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const ECRUTEAKGYM_MORTY
const ECRUTEAKGYM_SAGE1
const ECRUTEAKGYM_SAGE2
@ -8,11 +8,11 @@
const ECRUTEAKGYM_GRAMPS
EcruteakGym_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .ForcedToLeave ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_FINISHED
db 0 ; callbacks
def_callbacks
.ForcedToLeave:
prioritysjump EcruteakGymClosed
@ -387,7 +387,7 @@ EcruteakGymClosedText:
EcruteakGym_MapEvents:
db 0, 0 ; filler
db 33 ; warp events
def_warp_events
warp_event 4, 17, ECRUTEAK_CITY, 10
warp_event 5, 17, ECRUTEAK_CITY, 10
warp_event 4, 14, ECRUTEAK_GYM, 4
@ -422,13 +422,13 @@ EcruteakGym_MapEvents:
warp_event 7, 12, ECRUTEAK_GYM, 3
warp_event 7, 13, ECRUTEAK_GYM, 3
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 3, 15, BGEVENT_READ, EcruteakGymStatue
bg_event 6, 15, BGEVENT_READ, EcruteakGymStatue
db 7 ; object events
def_object_events
object_event 5, 1, SPRITE_MORTY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, EcruteakGymMortyScript, -1
object_event 2, 7, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerSageJeffrey, -1
object_event 3, 13, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSagePing, -1

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const ECRUTEAKITEMFINDERHOUSE_COOLTRAINER_M
const ECRUTEAKITEMFINDERHOUSE_POKEDEX
EcruteakItemfinderHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
EcruteakItemfinderGuy:
faceplayer
@ -163,15 +163,15 @@ EcruteakThreeMonText:
EcruteakItemfinderHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 3, 7, ECRUTEAK_CITY, 11
warp_event 4, 7, ECRUTEAK_CITY, 11
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 2, 1, BGEVENT_READ, ItemFinderHouseRadio
db 2 ; object events
def_object_events
object_event 2, 3, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, EcruteakItemfinderGuy, -1
object_event 3, 3, SPRITE_POKEDEX, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakHistoryBook, -1

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const ECRUTEAKLUGIASPEECHHOUSE_GRAMPS
const ECRUTEAKLUGIASPEECHHOUSE_YOUNGSTER
EcruteakLugiaSpeechHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
EcruteakLugiaSpeechHouseGrampsScript:
jumptextfaceplayer EcruteakLugiaSpeechHouseGrampsText
@ -45,15 +45,15 @@ EcruteakLugiaSpeechHouseYoungsterText:
EcruteakLugiaSpeechHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 3, 7, ECRUTEAK_CITY, 7
warp_event 4, 7, ECRUTEAK_CITY, 7
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 2, 1, BGEVENT_READ, LugiaSpeechHouseRadio
db 2 ; object events
def_object_events
object_event 2, 3, SPRITE_GRAMPS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakLugiaSpeechHouseGrampsScript, -1
object_event 5, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakLugiaSpeechHouseYoungsterScript, -1

View File

@ -1,12 +1,12 @@
object_const_def ; object_event constants
object_const_def
const ECRUTEAKMART_CLERK
const ECRUTEAKMART_SUPER_NERD
const ECRUTEAKMART_GRANNY
EcruteakMart_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
EcruteakMartClerkScript:
opentext
@ -46,15 +46,15 @@ EcruteakMartGrannyText:
EcruteakMart_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, ECRUTEAK_CITY, 9
warp_event 3, 7, ECRUTEAK_CITY, 9
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 3 ; object events
def_object_events
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakMartClerkScript, -1
object_event 5, 2, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, EcruteakMartSuperNerdScript, -1
object_event 6, 6, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakMartGrannyScript, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const ECRUTEAKPOKECENTER1F_NURSE
const ECRUTEAKPOKECENTER1F_POKEFAN_M
const ECRUTEAKPOKECENTER1F_COOLTRAINER_F
@ -6,11 +6,11 @@
const ECRUTEAKPOKECENTER1F_BILL
EcruteakPokecenter1F_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .MeetBill ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_FINISHED
db 0 ; callbacks
def_callbacks
.MeetBill:
prioritysjump .BillActivatesTimeCapsule
@ -207,16 +207,16 @@ EcruteakPokecenter1FGymGuideText:
EcruteakPokecenter1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 3, 7, ECRUTEAK_CITY, 6
warp_event 4, 7, ECRUTEAK_CITY, 6
warp_event 0, 7, POKECENTER_2F, 1
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 5 ; object events
def_object_events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakPokecenter1FNurseScript, -1
object_event 7, 6, SPRITE_POKEFAN_M, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakPokecenter1FPokefanMScript, -1
object_event 1, 4, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakPokecenter1FCooltrainerFScript, -1

View File

@ -1,15 +1,15 @@
object_const_def ; object_event constants
object_const_def
const ECRUTEAKTINTOWERENTRANCE_SAGE1
const ECRUTEAKTINTOWERENTRANCE_SAGE2
const ECRUTEAKTINTOWERENTRANCE_SAGE3
const ECRUTEAKTINTOWERENTRANCE_GRAMPS
EcruteakTinTowerEntrance_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_FINISHED
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_OBJECTS, .InitializeSages
.DummyScene0:
@ -278,20 +278,20 @@ EcruteakTinTowerEntranceGrampsText:
EcruteakTinTowerEntrance_MapEvents:
db 0, 0 ; filler
db 5 ; warp events
def_warp_events
warp_event 4, 17, ECRUTEAK_CITY, 3
warp_event 5, 17, ECRUTEAK_CITY, 3
warp_event 5, 3, ECRUTEAK_TIN_TOWER_ENTRANCE, 4
warp_event 17, 15, ECRUTEAK_TIN_TOWER_ENTRANCE, 3
warp_event 17, 3, WISE_TRIOS_ROOM, 3
db 2 ; coord events
def_coord_events
coord_event 4, 7, SCENE_DEFAULT, EcruteakTinTowerEntrance_CoordEvent1
coord_event 5, 7, SCENE_DEFAULT, EcruteakTinTowerEntrance_CoordEvent2
db 0 ; bg events
def_bg_events
db 4 ; object events
def_object_events
object_event 4, 6, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceSageScript, EVENT_RANG_CLEAR_BELL_1
object_event 5, 6, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceSageScript, EVENT_RANG_CLEAR_BELL_2
object_event 6, 9, SPRITE_SAGE, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceWanderingSageScript, EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const ELMSHOUSE_ELMS_WIFE
const ELMSHOUSE_ELMS_SON
ElmsHouse_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
ElmsWife:
jumptextfaceplayer ElmsWifeText
@ -84,17 +84,17 @@ ElmsHousePCText:
ElmsHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 2, 7, NEW_BARK_TOWN, 4
warp_event 3, 7, NEW_BARK_TOWN, 4
db 0 ; coord events
def_coord_events
db 3 ; bg events
def_bg_events
bg_event 0, 1, BGEVENT_READ, ElmsHousePC
bg_event 6, 1, BGEVENT_READ, ElmsHouseBookshelf
bg_event 7, 1, BGEVENT_READ, ElmsHouseBookshelf
db 2 ; object events
def_object_events
object_event 1, 5, SPRITE_TEACHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ElmsWife, -1
object_event 5, 4, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ElmsSon, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const ELMSLAB_ELM
const ELMSLAB_ELMS_AIDE
const ELMSLAB_POKE_BALL1
@ -7,7 +7,7 @@
const ELMSLAB_OFFICER
ElmsLab_MapScripts:
db 6 ; scene scripts
def_scene_scripts
scene_script .MeetElm ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_ELMSLAB_CANT_LEAVE
scene_script .DummyScene2 ; SCENE_ELMSLAB_NOTHING
@ -15,7 +15,7 @@ ElmsLab_MapScripts:
scene_script .DummyScene4 ; SCENE_ELMSLAB_UNUSED
scene_script .DummyScene5 ; SCENE_ELMSLAB_AIDE_GIVES_POTION
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_OBJECTS, .MoveElmCallback
.MeetElm:
@ -1371,11 +1371,11 @@ ElmsLabPCText:
ElmsLab_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 4, 11, NEW_BARK_TOWN, 1
warp_event 5, 11, NEW_BARK_TOWN, 1
db 8 ; coord events
def_coord_events
coord_event 4, 6, SCENE_ELMSLAB_CANT_LEAVE, LabTryToLeaveScript
coord_event 5, 6, SCENE_ELMSLAB_CANT_LEAVE, LabTryToLeaveScript
coord_event 4, 5, SCENE_ELMSLAB_MEET_OFFICER, MeetCopScript
@ -1385,7 +1385,7 @@ ElmsLab_MapEvents:
coord_event 4, 8, SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS, AideScript_WalkBalls1
coord_event 5, 8, SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS, AideScript_WalkBalls2
db 16 ; bg events
def_bg_events
bg_event 2, 1, BGEVENT_READ, ElmsLabHealingMachine
bg_event 6, 1, BGEVENT_READ, ElmsLabBookshelf
bg_event 7, 1, BGEVENT_READ, ElmsLabBookshelf
@ -1403,7 +1403,7 @@ ElmsLab_MapEvents:
bg_event 5, 0, BGEVENT_READ, ElmsLabWindow
bg_event 3, 5, BGEVENT_DOWN, ElmsLabPC
db 6 ; object events
def_object_events
object_event 5, 2, SPRITE_ELM, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ProfElmScript, -1
object_event 2, 9, SPRITE_SCIENTIST, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ElmsAideScript, EVENT_ELMS_AIDE_IN_LAB
object_event 6, 3, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CyndaquilPokeBallScript, EVENT_CYNDAQUIL_POKEBALL_IN_ELMS_LAB

View File

@ -1,16 +1,16 @@
object_const_def ; object_event constants
object_const_def
const FASTSHIP1F_SAILOR1
const FASTSHIP1F_SAILOR2
const FASTSHIP1F_SAILOR3
const FASTSHIP1F_GENTLEMAN
FastShip1F_MapScripts:
db 3 ; scene scripts
def_scene_scripts
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .EnterFastShip ; SCENE_FASTSHIP1F_ENTER_SHIP
scene_script .DummyScene2 ; SCENE_FASTSHIP1F_MEET_GRANDPA
db 0 ; callbacks
def_callbacks
.DummyScene0:
end
@ -286,7 +286,7 @@ FastShip1FSailor1Text_InVermilion:
FastShip1F_MapEvents:
db 0, 0 ; filler
db 12 ; warp events
def_warp_events
warp_event 25, 1, FAST_SHIP_1F, -1
warp_event 27, 8, FAST_SHIP_CABINS_NNW_NNE_NE, 1
warp_event 23, 8, FAST_SHIP_CABINS_NNW_NNE_NE, 2
@ -300,13 +300,13 @@ FastShip1F_MapEvents:
warp_event 6, 12, FAST_SHIP_B1F, 1
warp_event 30, 14, FAST_SHIP_B1F, 2
db 2 ; coord events
def_coord_events
coord_event 24, 6, SCENE_FASTSHIP1F_MEET_GRANDPA, WorriedGrandpaSceneLeft
coord_event 25, 6, SCENE_FASTSHIP1F_MEET_GRANDPA, WorriedGrandpaSceneRight
db 0 ; bg events
def_bg_events
db 4 ; object events
def_object_events
object_event 25, 2, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FastShip1FSailor1Script, -1
object_event 14, 7, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FastShip1FSailor2Script, -1
object_event 22, 17, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FastShip1FSailor3Script, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const FASTSHIPB1F_SAILOR1
const FASTSHIPB1F_SAILOR2
const FASTSHIPB1F_SAILOR3
@ -13,11 +13,11 @@
const FASTSHIPB1F_YOUNGSTER2
FastShipB1F_MapScripts:
db 2 ; scene scripts
def_scene_scripts
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_FINISHED
db 0 ; callbacks
def_callbacks
.DummyScene0:
end
@ -449,18 +449,18 @@ SchoolboyRickyAfterBattleText:
FastShipB1F_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 5, 11, FAST_SHIP_1F, 11
warp_event 31, 13, FAST_SHIP_1F, 12
db 2 ; coord events
def_coord_events
coord_event 30, 7, SCENE_DEFAULT, FastShipB1FSailorBlocksLeft
coord_event 31, 7, SCENE_DEFAULT, FastShipB1FSailorBlocksRight
db 1 ; bg events
def_bg_events
bg_event 27, 9, BGEVENT_READ, FastShipB1FTrashcan
db 12 ; object events
def_object_events
object_event 30, 6, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FastShipB1FSailorScript, EVENT_FAST_SHIP_B1F_SAILOR_LEFT
object_event 31, 6, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FastShipB1FSailorScript, EVENT_FAST_SHIP_B1F_SAILOR_RIGHT
object_event 9, 11, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSailorJeff, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const FASTSHIPCABINS_NNW_NNE_NE_COOLTRAINER_M
const FASTSHIPCABINS_NNW_NNE_NE_COOLTRAINER_F
const FASTSHIPCABINS_NNW_NNE_NE_SUPER_NERD
@ -8,9 +8,9 @@
const FASTSHIPCABINS_NNW_NNE_NE_PHARMACIST
FastShipCabins_NNW_NNE_NE_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
TrainerCooltrainermSean:
trainer COOLTRAINERM, SEAN, EVENT_BEAT_COOLTRAINERM_SEAN, CooltrainermSeanSeenText, CooltrainermSeanBeatenText, 0, .Script
@ -267,19 +267,19 @@ BurglarCoreyAfterBattleText:
FastShipCabins_NNW_NNE_NE_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
def_warp_events
warp_event 2, 0, FAST_SHIP_1F, 2
warp_event 2, 12, FAST_SHIP_1F, 3
warp_event 2, 24, FAST_SHIP_1F, 4
db 0 ; coord events
def_coord_events
db 3 ; bg events
def_bg_events
bg_event 6, 13, BGEVENT_READ, FastShipCabins_NNW_NNE_NETrashcan
bg_event 7, 19, BGEVENT_READ, FastShipCabins_NNW_NNE_NETrashcan
bg_event 7, 31, BGEVENT_READ, FastShipCabins_NNW_NNE_NETrashcan
db 7 ; object events
def_object_events
object_event 4, 3, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 2, TrainerCooltrainermSean, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
object_event 1, 5, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerCooltrainerfCarol, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
object_event 1, 5, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPokemaniacEthan, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_CAPTAIN
const FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN
const FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1
@ -12,9 +12,9 @@
const FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_SUPER_NERD2
FastShipCabins_SE_SSE_CaptainsCabin_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
.DummyScene: ; unreferenced
end
@ -463,7 +463,7 @@ SSAquaHasArrivedVermilionText:
FastShipCabins_SE_SSE_CaptainsCabin_MapEvents:
db 0, 0 ; filler
db 6 ; warp events
def_warp_events
warp_event 2, 7, FAST_SHIP_1F, 8
warp_event 3, 7, FAST_SHIP_1F, 8
warp_event 2, 19, FAST_SHIP_1F, 9
@ -471,12 +471,12 @@ FastShipCabins_SE_SSE_CaptainsCabin_MapEvents:
warp_event 2, 33, FAST_SHIP_1F, 10
warp_event 3, 33, FAST_SHIP_1F, 10
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 4, 25, BGEVENT_READ, FastShipCaptainsCabinTrashcan
db 11 ; object events
def_object_events
object_event 3, 25, SPRITE_CAPTAIN, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SSAquaCaptain, -1
object_event 2, 17, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SSAquaGrandpa, EVENT_FAST_SHIP_CABINS_SE_SSE_GENTLEMAN
object_event 3, 17, SPRITE_TWIN, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SSAquaGranddaughterAfter, EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const FASTSHIPCABINS_SW_SSW_NW_FISHER
const FASTSHIPCABINS_SW_SSW_NW_BUG_CATCHER
const FASTSHIPCABINS_SW_SSW_NW_BEAUTY
const FASTSHIPCABINS_SW_SSW_NW_ROCKER
FastShipCabins_SW_SSW_NW_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
TrainerFirebreatherLyle:
trainer FIREBREATHER, LYLE, EVENT_BEAT_FIREBREATHER_LYLE, FirebreatherLyleSeenText, FirebreatherLyleBeatenText, 0, .Script
@ -223,21 +223,21 @@ FastShipArrivedVermilionText:
FastShipCabins_SW_SSW_NW_MapEvents:
db 0, 0 ; filler
db 5 ; warp events
def_warp_events
warp_event 2, 0, FAST_SHIP_1F, 5
warp_event 2, 19, FAST_SHIP_1F, 6
warp_event 3, 19, FAST_SHIP_1F, 6
warp_event 2, 31, FAST_SHIP_1F, 7
warp_event 3, 31, FAST_SHIP_1F, 7
db 0 ; coord events
def_coord_events
db 3 ; bg events
def_bg_events
bg_event 7, 1, BGEVENT_READ, FastShipBed
bg_event 7, 2, BGEVENT_READ, FastShipBed
bg_event 7, 7, BGEVENT_READ, FastShipCabinsNorthwestCabinTrashcan
db 4 ; object events
def_object_events
object_event 1, 15, SPRITE_FISHER, SPRITEMOVEDATA_SPINCOUNTERCLOCKWISE, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 2, TrainerFirebreatherLyle, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
object_event 6, 15, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerBugCatcherKen, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
object_event 1, 26, SPRITE_BEAUTY, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerBeautyCassie, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND

View File

@ -1,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const FIGHTINGDOJO_BLACK_BELT
const FIGHTINGDOJO_POKE_BALL
FightingDojo_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
FightingDojoBlackBelt:
jumptextfaceplayer FightingDojoBlackBeltText
@ -43,16 +43,16 @@ FightingDojoSign2Text:
FightingDojo_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 4, 11, SAFFRON_CITY, 1
warp_event 5, 11, SAFFRON_CITY, 1
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 4, 0, BGEVENT_READ, FightingDojoSign1
bg_event 5, 0, BGEVENT_READ, FightingDojoSign2
db 2 ; object events
def_object_events
object_event 4, 4, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FightingDojoBlackBelt, -1
object_event 3, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, FightingDojoFocusBand, EVENT_PICKED_UP_FOCUS_BAND

View File

@ -1,13 +1,13 @@
object_const_def ; object_event constants
object_const_def
const FUCHSIACITY_YOUNGSTER
const FUCHSIACITY_POKEFAN_M
const FUCHSIACITY_TEACHER
const FUCHSIACITY_FRUIT_TREE
FuchsiaCity_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
@ -125,7 +125,7 @@ NoLitteringSignText:
FuchsiaCity_MapEvents:
db 0, 0 ; filler
db 11 ; warp events
def_warp_events
warp_event 5, 13, FUCHSIA_MART, 2
warp_event 22, 13, SAFARI_ZONE_MAIN_OFFICE, 1
warp_event 8, 27, FUCHSIA_GYM, 1
@ -138,9 +138,9 @@ FuchsiaCity_MapEvents:
warp_event 7, 35, ROUTE_19_FUCHSIA_GATE, 1
warp_event 8, 35, ROUTE_19_FUCHSIA_GATE, 2
db 0 ; coord events
def_coord_events
db 8 ; bg events
def_bg_events
bg_event 21, 15, BGEVENT_READ, FuchsiaCitySign
bg_event 5, 29, BGEVENT_READ, FuchsiaGymSign
bg_event 25, 15, BGEVENT_READ, SafariZoneOfficeSign
@ -150,7 +150,7 @@ FuchsiaCity_MapEvents:
bg_event 20, 27, BGEVENT_READ, FuchsiaCityPokecenterSign
bg_event 6, 13, BGEVENT_READ, FuchsiaCityMartSign
db 4 ; object events
def_object_events
object_event 23, 18, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, FuchsiaCityYoungster, -1
object_event 13, 8, SPRITE_POKEFAN_M, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, FuchsiaCityPokefanM, -1
object_event 16, 14, SPRITE_TEACHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, FuchsiaCityTeacher, -1

View File

@ -1,4 +1,4 @@
object_const_def ; object_event constants
object_const_def
const FUCHSIAGYM_JANINE
const FUCHSIAGYM_FUCHSIA_GYM_1
const FUCHSIAGYM_FUCHSIA_GYM_2
@ -7,9 +7,9 @@
const FUCHSIAGYM_GYM_GUIDE
FuchsiaGym_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
FuchsiaGymJanineScript:
checkflag ENGINE_SOULBADGE
@ -381,17 +381,17 @@ FuchsiaGymGuideWinText:
FuchsiaGym_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 4, 17, FUCHSIA_CITY, 3
warp_event 5, 17, FUCHSIA_CITY, 3
db 0 ; coord events
def_coord_events
db 2 ; bg events
def_bg_events
bg_event 3, 15, BGEVENT_READ, FuchsiaGymStatue
bg_event 6, 15, BGEVENT_READ, FuchsiaGymStatue
db 6 ; object events
def_object_events
object_event 1, 10, SPRITE_JANINE, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FuchsiaGymJanineScript, -1
object_event 5, 7, SPRITE_FUCHSIA_GYM_1, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, LassAliceScript, -1
object_event 5, 11, SPRITE_FUCHSIA_GYM_2, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, LassLindaScript, -1

Some files were not shown because too many files have changed in this diff Show More