Event and engine constant enumeration; replace static flag numbers with their constant names

This commit is contained in:
PikalaxALT
2015-07-12 02:00:17 -04:00
parent 63cc4daae2
commit d282fe4799
358 changed files with 4251 additions and 2875 deletions

View File

@@ -1,162 +1,164 @@
ENGINE_RADIO_CARD EQU $00 const_def
ENGINE_MAP_CARD EQU $01
ENGINE_PHONE_CARD EQU $02 const ENGINE_RADIO_CARD
ENGINE_EXPN_CARD EQU $03 const ENGINE_MAP_CARD
ENGINE_POKEGEAR EQU $04 const ENGINE_PHONE_CARD
ENGINE_DAYCARE_MONS_ARE_COMPATIBLE EQU $05 const ENGINE_EXPN_CARD
ENGINE_DAYCARE_MAN_HAS_MON EQU $06 const ENGINE_POKEGEAR
ENGINE_DAYCARE_LADY_HAS_MON EQU $07 const ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
ENGINE_MOM_SAVING_MONEY EQU $08 const ENGINE_DAYCARE_MAN_HAS_MON
ENGINE_DST EQU $09 const ENGINE_DAYCARE_LADY_HAS_MON
ENGINE_0A EQU $0a const ENGINE_MOM_SAVING_MONEY
ENGINE_POKEDEX EQU $0b const ENGINE_DST
ENGINE_UNOWN_DEX EQU $0c const ENGINE_0A
ENGINE_POKERUS EQU $0d const ENGINE_POKEDEX
ENGINE_ROCKET_SIGNAL_ON_CH20 EQU $0e const ENGINE_UNOWN_DEX
ENGINE_CREDITS_SKIP EQU $0f const ENGINE_POKERUS
ENGINE_BUG_CONTEST_ON EQU $10 const ENGINE_ROCKET_SIGNAL_ON_CH20
ENGINE_BUG_CONTEST_TIMER EQU $11 const ENGINE_CREDITS_SKIP
ENGINE_12 EQU $12 const ENGINE_BUG_CONTEST_ON
ENGINE_ROCKETS_IN_RADIO_TOWER EQU $13 const ENGINE_BUG_CONTEST_TIMER
ENGINE_BIKE_SHOP_CALL_ENABLED EQU $14 const ENGINE_12
ENGINE_GIVE_POKERUS EQU $15 const ENGINE_ROCKETS_IN_RADIO_TOWER
ENGINE_16 EQU $16 const ENGINE_BIKE_SHOP_CALL_ENABLED
ENGINE_ROCKETS_IN_MAHOGANY EQU $17 const ENGINE_GIVE_POKERUS
ENGINE_STRENGTH_ACTIVE EQU $18 const ENGINE_16
ENGINE_ALWAYS_ON_BIKE EQU $19 const ENGINE_ROCKETS_IN_MAHOGANY
ENGINE_DOWNHILL EQU $1a const ENGINE_STRENGTH_ACTIVE
ENGINE_ZEPHYRBADGE EQU $1b const ENGINE_ALWAYS_ON_BIKE
ENGINE_HIVEBADGE EQU $1c const ENGINE_DOWNHILL
ENGINE_PLAINBADGE EQU $1d const ENGINE_ZEPHYRBADGE
ENGINE_FOGBADGE EQU $1e const ENGINE_HIVEBADGE
ENGINE_MINERALBADGE EQU $1f const ENGINE_PLAINBADGE
ENGINE_STORMBADGE EQU $20 const ENGINE_FOGBADGE
ENGINE_GLACIERBADGE EQU $21 const ENGINE_MINERALBADGE
ENGINE_RISINGBADGE EQU $22 const ENGINE_STORMBADGE
ENGINE_BOULDERBADGE EQU $23 const ENGINE_GLACIERBADGE
ENGINE_CASCADEBADGE EQU $24 const ENGINE_RISINGBADGE
ENGINE_THUNDERBADGE EQU $25 const ENGINE_BOULDERBADGE
ENGINE_RAINBOWBADGE EQU $26 const ENGINE_CASCADEBADGE
ENGINE_SOULBADGE EQU $27 const ENGINE_THUNDERBADGE
ENGINE_MARSHBADGE EQU $28 const ENGINE_RAINBOWBADGE
ENGINE_VOLCANOBADGE EQU $29 const ENGINE_SOULBADGE
ENGINE_EARTHBADGE EQU $2a const ENGINE_MARSHBADGE
ENGINE_UNLOCKED_UNOWNS_1 EQU $2b const ENGINE_VOLCANOBADGE
ENGINE_UNLOCKED_UNOWNS_2 EQU $2c const ENGINE_EARTHBADGE
ENGINE_UNLOCKED_UNOWNS_3 EQU $2d const ENGINE_UNLOCKED_UNOWNS_1
ENGINE_UNLOCKED_UNOWNS_4 EQU $2e const ENGINE_UNLOCKED_UNOWNS_2
ENGINE_UNLOCKED_UNOWNS_5 EQU $2f const ENGINE_UNLOCKED_UNOWNS_3
ENGINE_UNLOCKED_UNOWNS_6 EQU $30 const ENGINE_UNLOCKED_UNOWNS_4
ENGINE_UNLOCKED_UNOWNS_7 EQU $31 const ENGINE_UNLOCKED_UNOWNS_5
ENGINE_UNLOCKED_UNOWNS_8 EQU $32 const ENGINE_UNLOCKED_UNOWNS_6
ENGINE_FLYPOINT_KRISS_HOUSE EQU $33 const ENGINE_UNLOCKED_UNOWNS_7
ENGINE_FLYPOINT_VIRIDIAN_POKECENTER EQU $34 const ENGINE_UNLOCKED_UNOWNS_8
ENGINE_FLYPOINT_PALLET EQU $35 const ENGINE_FLYPOINT_KRISS_HOUSE
ENGINE_FLYPOINT_VIRIDIAN EQU $36 const ENGINE_FLYPOINT_VIRIDIAN_POKECENTER
ENGINE_FLYPOINT_PEWTER EQU $37 const ENGINE_FLYPOINT_PALLET
ENGINE_FLYPOINT_CERULEAN EQU $38 const ENGINE_FLYPOINT_VIRIDIAN
ENGINE_FLYPOINT_ROCK_TUNNEL EQU $39 const ENGINE_FLYPOINT_PEWTER
ENGINE_FLYPOINT_VERMILION EQU $3a const ENGINE_FLYPOINT_CERULEAN
ENGINE_FLYPOINT_LAVENDER EQU $3b const ENGINE_FLYPOINT_ROCK_TUNNEL
ENGINE_FLYPOINT_SAFFRON EQU $3c const ENGINE_FLYPOINT_VERMILION
ENGINE_FLYPOINT_CELADON EQU $3d const ENGINE_FLYPOINT_LAVENDER
ENGINE_FLYPOINT_FUCHSIA EQU $3e const ENGINE_FLYPOINT_SAFFRON
ENGINE_FLYPOINT_CINNABAR EQU $3f const ENGINE_FLYPOINT_CELADON
ENGINE_FLYPOINT_INDIGO_PLATEAU EQU $40 const ENGINE_FLYPOINT_FUCHSIA
ENGINE_FLYPOINT_NEW_BARK EQU $41 const ENGINE_FLYPOINT_CINNABAR
ENGINE_FLYPOINT_CHERRYGROVE EQU $42 const ENGINE_FLYPOINT_INDIGO_PLATEAU
ENGINE_FLYPOINT_VIOLET EQU $43 const ENGINE_FLYPOINT_NEW_BARK
ENGINE_FLYPOINT_AZALEA EQU $44 const ENGINE_FLYPOINT_CHERRYGROVE
ENGINE_FLYPOINT_CIANWOOD EQU $45 const ENGINE_FLYPOINT_VIOLET
ENGINE_FLYPOINT_GOLDENROD EQU $46 const ENGINE_FLYPOINT_AZALEA
ENGINE_FLYPOINT_OLIVINE EQU $47 const ENGINE_FLYPOINT_CIANWOOD
ENGINE_FLYPOINT_ECRUTEAK EQU $48 const ENGINE_FLYPOINT_GOLDENROD
ENGINE_FLYPOINT_MAHOGANY EQU $49 const ENGINE_FLYPOINT_OLIVINE
ENGINE_FLYPOINT_LAKE_OF_RAGE EQU $4a const ENGINE_FLYPOINT_ECRUTEAK
ENGINE_FLYPOINT_BLACKTHORN EQU $4b const ENGINE_FLYPOINT_MAHOGANY
ENGINE_FLYPOINT_SILVER_CAVE EQU $4c const ENGINE_FLYPOINT_LAKE_OF_RAGE
ENGINE_FLYPOINT_UNUSED EQU $4d const ENGINE_FLYPOINT_BLACKTHORN
ENGINE_LUCKY_NUMBER_SHOW EQU $4e const ENGINE_FLYPOINT_SILVER_CAVE
ENGINE_4F EQU $4f const ENGINE_FLYPOINT_UNUSED
ENGINE_KURT_MAKING_BALLS EQU $50 const ENGINE_LUCKY_NUMBER_SHOW
ENGINE_51 EQU $51 const ENGINE_4F
ENGINE_SPECIAL_WILDDATA EQU $52 const ENGINE_KURT_MAKING_BALLS
ENGINE_TIME_CAPSULE EQU $53 const ENGINE_51
ENGINE_ALL_FRUIT_TREES EQU $54 const ENGINE_SPECIAL_WILDDATA
ENGINE_SHUCKLE_GIVEN EQU $55 const ENGINE_TIME_CAPSULE
ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED EQU $56 const ENGINE_ALL_FRUIT_TREES
ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY EQU $57 const ENGINE_SHUCKLE_GIVEN
ENGINE_MT_MOON_SQUARE_CLEFAIRY EQU $58 const ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED
ENGINE_UNION_CAVE_LAPRAS EQU $59 const ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT EQU $5a const ENGINE_MT_MOON_SQUARE_CLEFAIRY
ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT EQU $5b const ENGINE_UNION_CAVE_LAPRAS
ENGINE_TEA_IN_BLUES_HOUSE EQU $5c const ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT EQU $5d const ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
ENGINE_5E EQU $5e const ENGINE_TEA_IN_BLUES_HOUSE
ENGINE_5F EQU $5f const ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
ENGINE_60 EQU $60 const ENGINE_5E
ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON EQU $61 const ENGINE_5F
ENGINE_62 EQU $62 const ENGINE_60
ENGINE_PLAYER_IS_FEMALE EQU $63 const ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
ENGINE_HAVE_EXAMINED_GS_BALL EQU $64 const ENGINE_62
ENGINE_JACK EQU $65 const ENGINE_PLAYER_IS_FEMALE
ENGINE_HUEY EQU $66 const ENGINE_HAVE_EXAMINED_GS_BALL
ENGINE_GAVEN EQU $67 const ENGINE_JACK
ENGINE_BETH EQU $68 const ENGINE_HUEY
ENGINE_JOSE EQU $69 const ENGINE_GAVEN
ENGINE_REENA EQU $6a const ENGINE_BETH
ENGINE_JOEY EQU $6b const ENGINE_JOSE
ENGINE_WADE EQU $6c const ENGINE_REENA
ENGINE_RALPH EQU $6d const ENGINE_JOEY
ENGINE_LIZ EQU $6e const ENGINE_WADE
ENGINE_ANTHONY EQU $6f const ENGINE_RALPH
ENGINE_TODD EQU $70 const ENGINE_LIZ
ENGINE_GINA EQU $71 const ENGINE_ANTHONY
ENGINE_ARNIE EQU $72 const ENGINE_TODD
ENGINE_ALAN EQU $73 const ENGINE_GINA
ENGINE_DANA EQU $74 const ENGINE_ARNIE
ENGINE_CHAD EQU $75 const ENGINE_ALAN
ENGINE_TULLY EQU $76 const ENGINE_DANA
ENGINE_BRENT EQU $77 const ENGINE_CHAD
ENGINE_TIFFANY EQU $78 const ENGINE_TULLY
ENGINE_VANCE EQU $79 const ENGINE_BRENT
ENGINE_WILTON EQU $7a const ENGINE_TIFFANY
ENGINE_PARRY EQU $7b const ENGINE_VANCE
ENGINE_ERIN EQU $7c const ENGINE_WILTON
ENGINE_BEVERLY_HAS_NUGGET EQU $7d const ENGINE_PARRY
ENGINE_JOSE_HAS_STAR_PIECE EQU $7e const ENGINE_ERIN
ENGINE_WADE_HAS_ITEM EQU $7f const ENGINE_BEVERLY_HAS_NUGGET
ENGINE_GINA_HAS_LEAF_STONE EQU $80 const ENGINE_JOSE_HAS_STAR_PIECE
ENGINE_ALAN_HAS_FIRE_STONE EQU $81 const ENGINE_WADE_HAS_ITEM
ENGINE_LIZ_HAS_THUNDERSTONE EQU $82 const ENGINE_GINA_HAS_LEAF_STONE
ENGINE_DEREK_HAS_NUGGET EQU $83 const ENGINE_ALAN_HAS_FIRE_STONE
ENGINE_TULLY_HAS_WATER_STONE EQU $84 const ENGINE_LIZ_HAS_THUNDERSTONE
ENGINE_TIFFANY_HAS_PINK_BOW EQU $85 const ENGINE_DEREK_HAS_NUGGET
ENGINE_WILTON_HAS_ITEM EQU $86 const ENGINE_TULLY_HAS_WATER_STONE
ENGINE_87 EQU $87 const ENGINE_TIFFANY_HAS_PINK_BOW
ENGINE_88 EQU $88 const ENGINE_WILTON_HAS_ITEM
ENGINE_89 EQU $89 const ENGINE_87
ENGINE_8A EQU $8a const ENGINE_88
ENGINE_8B EQU $8b const ENGINE_89
ENGINE_8C EQU $8c const ENGINE_8A
ENGINE_8D EQU $8d const ENGINE_8B
ENGINE_8E EQU $8e const ENGINE_8C
ENGINE_8F EQU $8f const ENGINE_8D
ENGINE_90 EQU $90 const ENGINE_8E
ENGINE_91 EQU $91 const ENGINE_8F
ENGINE_92 EQU $92 const ENGINE_90
ENGINE_93 EQU $93 const ENGINE_91
ENGINE_94 EQU $94 const ENGINE_92
ENGINE_95 EQU $95 const ENGINE_93
ENGINE_96 EQU $96 const ENGINE_94
ENGINE_97 EQU $97 const ENGINE_95
ENGINE_98 EQU $98 const ENGINE_96
ENGINE_99 EQU $99 const ENGINE_97
ENGINE_9A EQU $9a const ENGINE_98
ENGINE_9B EQU $9b const ENGINE_99
ENGINE_9C EQU $9c const ENGINE_9A
ENGINE_9D EQU $9d const ENGINE_9B
ENGINE_9E EQU $9e const ENGINE_9C
ENGINE_KRIS_IN_CABLE_CLUB EQU $9f const ENGINE_9D
ENGINE_DUNSPARCE_SWARM EQU $a0 const ENGINE_9E
ENGINE_YANMA_SWARM EQU $a1 const ENGINE_KRIS_IN_CABLE_CLUB
const ENGINE_DUNSPARCE_SWARM
const ENGINE_YANMA_SWARM

File diff suppressed because it is too large Load Diff

View File

@@ -46,3 +46,8 @@
enum rematchgiftf enum rematchgiftf
enum gymstatue1 enum gymstatue1
enum gymstatue2 enum gymstatue2
enum receiveitem
enum receivetogepiegg
enum pc
enum gamecornercoinvendor
enum happinesschecknpc

View File

@@ -1476,7 +1476,7 @@ UnknownScript_0xa0a08:
iftrue UnknownScript_0xa0a1d iftrue UnknownScript_0xa0a1d
checknite checknite
iftrue UnknownScript_0xa0a25 iftrue UnknownScript_0xa0a25
setevent $026a setevent EVENT_26A
farwritetext UnknownText_0x66f11 farwritetext UnknownText_0x66f11
keeptextopen keeptextopen
jump UnknownScript_0xa0484 jump UnknownScript_0xa0484

View File

@@ -14,7 +14,7 @@ MomPhoneScript: ; 0xbceaa
jump MomPhoneNoPokemonScript jump MomPhoneNoPokemonScript
.bcec5 ; 0xbcec5 .bcec5 ; 0xbcec5
checkevent $0007 checkevent EVENT_007
iftrue MomPhoneHangUpScript iftrue MomPhoneHangUpScript
farwritetext MomPhoneGreetingText farwritetext MomPhoneGreetingText
keeptextopen keeptextopen
@@ -1080,7 +1080,7 @@ UnknownScript_0xbd784:
iftrue UnknownScript_0xbd7c8 iftrue UnknownScript_0xbd7c8
checkflag ENGINE_GINA_HAS_LEAF_STONE checkflag ENGINE_GINA_HAS_LEAF_STONE
iftrue UnknownScript_0xbd7c8 iftrue UnknownScript_0xbd7c8
checkevent $0100 checkevent EVENT_100
iftrue UnknownScript_0xbd7b2 iftrue UnknownScript_0xbd7b2
farscall UnknownScript_0xbde3f farscall UnknownScript_0xbde3f
if_equal $0, UnknownScript_0xbd7dd if_equal $0, UnknownScript_0xbd7dd
@@ -1233,7 +1233,7 @@ UnknownScript_0xbd8dd:
iftrue UnknownScript_0xbd915 iftrue UnknownScript_0xbd915
farscall UnknownScript_0xbde42 farscall UnknownScript_0xbde42
if_equal $0, UnknownScript_0xbd91c if_equal $0, UnknownScript_0xbd91c
checkevent $0101 checkevent EVENT_101
iftrue UnknownScript_0xbd90d iftrue UnknownScript_0xbd90d
farscall UnknownScript_0xbde3f farscall UnknownScript_0xbde3f
if_equal $0, UnknownScript_0xbd926 if_equal $0, UnknownScript_0xbd926
@@ -1294,7 +1294,7 @@ UnknownScript_0xbd967:
iftrue UnknownScript_0xbd99f iftrue UnknownScript_0xbd99f
farscall UnknownScript_0xbde42 farscall UnknownScript_0xbde42
if_equal $0, UnknownScript_0xbd9ae if_equal $0, UnknownScript_0xbd9ae
checkevent $0102 checkevent EVENT_102
iftrue UnknownScript_0xbd997 iftrue UnknownScript_0xbd997
farscall UnknownScript_0xbde3f farscall UnknownScript_0xbde3f
if_equal $0, UnknownScript_0xbd9bc if_equal $0, UnknownScript_0xbd9bc
@@ -1459,7 +1459,7 @@ UnknownScript_0xbdae3:
iftrue UnknownScript_0xbdb1b iftrue UnknownScript_0xbdb1b
farscall UnknownScript_0xbde42 farscall UnknownScript_0xbde42
if_equal $0, UnknownScript_0xbdb22 if_equal $0, UnknownScript_0xbdb22
checkevent $0103 checkevent EVENT_103
iftrue UnknownScript_0xbdb13 iftrue UnknownScript_0xbdb13
farscall UnknownScript_0xbde3f farscall UnknownScript_0xbde3f
if_equal $0, UnknownScript_0xbdb2c if_equal $0, UnknownScript_0xbdb2c
@@ -1567,7 +1567,7 @@ UnknownScript_0xbdbd0:
iftrue UnknownScript_0xbdc10 iftrue UnknownScript_0xbdc10
farscall UnknownScript_0xbde42 farscall UnknownScript_0xbde42
if_equal $0, UnknownScript_0xbdc17 if_equal $0, UnknownScript_0xbdc17
checkevent $0104 checkevent EVENT_104
iftrue UnknownScript_0xbdc08 iftrue UnknownScript_0xbdc08
farscall UnknownScript_0xbde3f farscall UnknownScript_0xbde3f
if_equal $0, UnknownScript_0xbdc69 if_equal $0, UnknownScript_0xbdc69

View File

@@ -287,16 +287,16 @@ DayToTextScript:
db "SATURDAY@" db "SATURDAY@"
GoldenrodRocketsScript: GoldenrodRocketsScript:
clearevent $06cd clearevent EVENT_6CD
end end
RadioTowerRocketsScript: RadioTowerRocketsScript:
setflag ENGINE_ROCKETS_IN_RADIO_TOWER setflag ENGINE_ROCKETS_IN_RADIO_TOWER
setevent $06cf setevent EVENT_6CF
setevent $06d1 setevent EVENT_6D1
clearevent $06ce clearevent EVENT_6CE
clearevent $0025 clearevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
setevent $0756 setevent EVENT_756
specialphonecall $0004 specialphonecall $0004
domaptrigger GROUP_MAHOGANY_TOWN, MAP_MAHOGANY_TOWN, $1 domaptrigger GROUP_MAHOGANY_TOWN, MAP_MAHOGANY_TOWN, $1
end end
@@ -304,19 +304,19 @@ RadioTowerRocketsScript:
BugContestResultsWarpScript: BugContestResultsWarpScript:
special WhiteBGMap special WhiteBGMap
scall UnknownScript_0xbc380 scall UnknownScript_0xbc380
setevent $0747 setevent EVENT_747
clearevent $0748 clearevent EVENT_748
setevent $02d2 setevent EVENT_2D2
warp GROUP_ROUTE_36_NATIONAL_PARK_GATE, MAP_ROUTE_36_NATIONAL_PARK_GATE, $0, $4 warp GROUP_ROUTE_36_NATIONAL_PARK_GATE, MAP_ROUTE_36_NATIONAL_PARK_GATE, $0, $4
applymovement $0, MovementData_0xbcea1 applymovement $0, MovementData_0xbcea1
BugContestResultsScript: BugContestResultsScript:
clearflag $0011 clearflag ENGINE_BUG_CONTEST_TIMER
clearevent $02d2 clearevent EVENT_2D2
clearevent $0313 clearevent EVENT_313
clearevent $0314 clearevent EVENT_314
clearevent $0315 clearevent EVENT_315
clearevent $0316 clearevent EVENT_316
loadfont loadfont
farwritetext UnknownText_0x1b05bf farwritetext UnknownText_0x1b05bf
closetext closetext
@@ -342,7 +342,7 @@ UnknownScript_0xbc2b1: ; 0xbc2b1
keeptextopen keeptextopen
UnknownScript_0xbc2b6: UnknownScript_0xbc2b6:
checkevent $0308 checkevent EVENT_308
iffalse UnknownScript_0xbc2c4 iffalse UnknownScript_0xbc2c4
farwritetext UnknownText_0x1b06d9 farwritetext UnknownText_0x1b06d9
closetext closetext
@@ -357,33 +357,33 @@ UnknownScript_0xbc2d4:
loadmovesprites loadmovesprites
dotrigger $0 dotrigger $0
domaptrigger GROUP_ROUTE_35_NATIONAL_PARK_GATE, MAP_ROUTE_35_NATIONAL_PARK_GATE, $0 domaptrigger GROUP_ROUTE_35_NATIONAL_PARK_GATE, MAP_ROUTE_35_NATIONAL_PARK_GATE, $0
setevent $0716 setevent EVENT_716
setevent $0717 setevent EVENT_717
setevent $0718 setevent EVENT_718
setevent $0719 setevent EVENT_719
setevent $071a setevent EVENT_71A
setevent $071b setevent EVENT_71B
setevent $071c setevent EVENT_71C
setevent $071d setevent EVENT_71D
setevent $071e setevent EVENT_71E
setevent $071f setevent EVENT_71F
setevent $0720 setevent EVENT_720
setevent $0721 setevent EVENT_721
setevent $0722 setevent EVENT_722
setevent $0723 setevent EVENT_723
setevent $0724 setevent EVENT_724
setevent $0725 setevent EVENT_725
setevent $0726 setevent EVENT_726
setevent $0727 setevent EVENT_727
setevent $0728 setevent EVENT_728
setevent $0729 setevent EVENT_729
setflag ENGINE_51 setflag ENGINE_51
special PlayMapMusic special PlayMapMusic
end end
; 0xbc31e ; 0xbc31e
UnknownScript_0xbc31e: ; 0xbc31e UnknownScript_0xbc31e: ; 0xbc31e
setevent $0000 setevent EVENT_000
itemtotext SUN_STONE, $1 itemtotext SUN_STONE, $1
farwritetext UnknownText_0x1b0621 farwritetext UnknownText_0x1b0621
closetext closetext
@@ -413,188 +413,188 @@ UnknownScript_0xbc343: ; 0xbc343
UnknownScript_0xbc354: ; 0xbc354 UnknownScript_0xbc354: ; 0xbc354
farwritetext UnknownText_0x1b08cc farwritetext UnknownText_0x1b08cc
keeptextopen keeptextopen
setevent $0313 setevent EVENT_313
jump UnknownScript_0xbc2b1 jump UnknownScript_0xbc2b1
; 0xbc35f ; 0xbc35f
UnknownScript_0xbc35f: ; 0xbc35f UnknownScript_0xbc35f: ; 0xbc35f
farwritetext UnknownText_0x1b08cc farwritetext UnknownText_0x1b08cc
keeptextopen keeptextopen
setevent $0314 setevent EVENT_314
jump UnknownScript_0xbc2b1 jump UnknownScript_0xbc2b1
; 0xbc36a ; 0xbc36a
UnknownScript_0xbc36a: ; 0xbc36a UnknownScript_0xbc36a: ; 0xbc36a
farwritetext UnknownText_0x1b08cc farwritetext UnknownText_0x1b08cc
keeptextopen keeptextopen
setevent $0315 setevent EVENT_315
jump UnknownScript_0xbc2b1 jump UnknownScript_0xbc2b1
; 0xbc375 ; 0xbc375
UnknownScript_0xbc375: ; 0xbc375 UnknownScript_0xbc375: ; 0xbc375
farwritetext UnknownText_0x1b08cc farwritetext UnknownText_0x1b08cc
keeptextopen keeptextopen
setevent $0316 setevent EVENT_316
jump UnknownScript_0xbc2a9 jump UnknownScript_0xbc2a9
; 0xbc380 ; 0xbc380
UnknownScript_0xbc380: ; 0xbc380 UnknownScript_0xbc380: ; 0xbc380
checkevent $0716 checkevent EVENT_716
iftrue .skip1 iftrue .skip1
clearevent $0720 clearevent EVENT_720
.skip1 .skip1
checkevent $0717 checkevent EVENT_717
iftrue .skip2 iftrue .skip2
clearevent $0721 clearevent EVENT_721
.skip2 .skip2
checkevent $0718 checkevent EVENT_718
iftrue .skip3 iftrue .skip3
clearevent $0722 clearevent EVENT_722
.skip3 .skip3
checkevent $0719 checkevent EVENT_719
iftrue .skip4 iftrue .skip4
clearevent $0723 clearevent EVENT_723
.skip4 .skip4
checkevent $071a checkevent EVENT_71A
iftrue .skip5 iftrue .skip5
clearevent $0724 clearevent EVENT_724
.skip5 .skip5
checkevent $071b checkevent EVENT_71B
iftrue .skip6 iftrue .skip6
clearevent $0725 clearevent EVENT_725
.skip6 .skip6
checkevent $071c checkevent EVENT_71C
iftrue .skip7 iftrue .skip7
clearevent $0726 clearevent EVENT_726
.skip7 .skip7
checkevent $071d checkevent EVENT_71D
iftrue .skip8 iftrue .skip8
clearevent $0727 clearevent EVENT_727
.skip8 .skip8
checkevent $071e checkevent EVENT_71E
iftrue .skip9 iftrue .skip9
clearevent $0728 clearevent EVENT_728
.skip9 .skip9
checkevent $071f checkevent EVENT_71F
iftrue .skip10 iftrue .skip10
clearevent $0729 clearevent EVENT_729
.skip10 .skip10
end end
InitializeEventsScript: InitializeEventsScript:
setevent $06cb setevent EVENT_6CB
setevent $06ce setevent EVENT_6CE
setevent $06cd setevent EVENT_6CD
setevent $06d0 setevent EVENT_6D0
setevent $06f3 setevent EVENT_6F3
setevent $06e9 setevent EVENT_6E9
setevent $06f4 setevent EVENT_6F4
setevent $06d5 setevent EVENT_6D5
setevent $06de setevent EVENT_6DE
setevent $06dd setevent EVENT_6DD
setevent $06df setevent EVENT_6DF
setevent $06c0 setevent EVENT_6C0
setevent $06e4 setevent EVENT_6E4
setevent $0025 setevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
setevent $06be setevent EVENT_6BE
setevent $06bf setevent EVENT_6BF
setevent $06c1 setevent EVENT_6C1
setevent $06f9 setevent EVENT_6F9
setevent $06fd setevent EVENT_6FD
setevent $06ff setevent EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE
setevent $0700 setevent EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER
setevent $0702 setevent EVENT_702
setevent $0703 setevent EVENT_703
setevent $0704 setevent EVENT_704
setevent $070d setevent EVENT_BOULDER_IN_ICE_PATH_1
setevent $070e setevent EVENT_BOULDER_IN_ICE_PATH_2
setevent $070f setevent EVENT_BOULDER_IN_ICE_PATH_3
setevent $0710 setevent EVENT_BOULDER_IN_ICE_PATH_4
setevent $0715 setevent EVENT_715
setevent $0716 setevent EVENT_716
setevent $0717 setevent EVENT_717
setevent $0718 setevent EVENT_718
setevent $0719 setevent EVENT_719
setevent $071a setevent EVENT_71A
setevent $071b setevent EVENT_71B
setevent $071c setevent EVENT_71C
setevent $071d setevent EVENT_71D
setevent $071e setevent EVENT_71E
setevent $071f setevent EVENT_71F
setevent $0720 setevent EVENT_720
setevent $0721 setevent EVENT_721
setevent $0722 setevent EVENT_722
setevent $0723 setevent EVENT_723
setevent $0724 setevent EVENT_724
setevent $0725 setevent EVENT_725
setevent $0726 setevent EVENT_726
setevent $0727 setevent EVENT_727
setevent $0728 setevent EVENT_728
setevent $0729 setevent EVENT_729
setevent $072c setevent EVENT_72C
setevent $072f setevent EVENT_72F
setevent $072d setevent EVENT_72D
setevent $0735 setevent EVENT_735
setevent $0736 setevent EVENT_736
setevent $073c setevent EVENT_73C
setevent $073d setevent EVENT_73D
setevent $0741 setevent EVENT_741
setevent $0742 setevent EVENT_742
setevent $0743 setevent EVENT_743
setevent $0744 setevent EVENT_744
setevent $02a4 setevent EVENT_2A4
setevent $02af setevent EVENT_2AF
setevent $0749 setevent EVENT_749
setevent $06d3 setevent EVENT_6D3
setevent $074d setevent EVENT_74D
setevent $0712 setevent EVENT_MET_BILL
setevent $0713 setevent EVENT_713
setevent $0711 setevent EVENT_711
setevent $06d4 setevent EVENT_6D4
setevent $0304 setevent EVENT_WAREHOUSE_LAYOUT_1
setevent $0307 setevent EVENT_WAREHOUSE_BLOCKED_OFF
setevent $06d8 setevent EVENT_6D8
setevent $06c3 setevent EVENT_6C3
setevent $06c2 setevent EVENT_6C2
setevent $06c6 setevent EVENT_6C6
setevent $075f setevent EVENT_75F
setevent $0731 setevent EVENT_731
setevent $074a setevent EVENT_74A
setevent $0762 setevent EVENT_RED_IN_MT_SILVER
setevent $0738 setevent EVENT_738
setevent $073a setevent EVENT_73A
setevent $073b setevent EVENT_73B
setevent $0733 setevent EVENT_733
setevent $073f setevent EVENT_73F
setevent $078d setevent EVENT_78D
setevent $0766 setevent EVENT_766
setevent $0768 setevent EVENT_768
setevent $0769 setevent EVENT_FLORIA_AT_SUDOWOODO
setevent $076a setevent EVENT_76A
setevent $078e setevent EVENT_78E
setevent $078f setevent EVENT_78F
setevent $0790 setevent EVENT_790
setevent $0791 setevent EVENT_791
setevent $0793 setevent EVENT_793
setevent $07a4 setevent EVENT_7A4
setevent $07a4 setevent EVENT_7A4
setevent $07a5 setevent EVENT_7A5
setevent $06ec setevent EVENT_6EC
setevent $06ed setevent EVENT_6ED
setevent $06f0 setevent EVENT_6F0
setevent $07a9 setevent EVENT_7A9
setevent EVENT_EUSINE_IN_BURNED_TOWER setevent EVENT_EUSINE_IN_BURNED_TOWER
setevent $06c8 setevent EVENT_6C8
setevent $07ac setevent EVENT_7AC
setevent $07ad setevent EVENT_7AD
setevent $07b5 setevent EVENT_7B5
setevent $07b6 setevent EVENT_7B6
setevent $07c5 setevent EVENT_7C5
setevent $07b7 setevent EVENT_SET_WHEN_FOUGHT_HO_OH
setevent $07b0 setevent EVENT_SAW_SUICUNE_ON_ROUTE_36
setevent $07af setevent EVENT_SAW_SUICUNE_ON_ROUTE_42
setevent $07ae setevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setevent $07cf setevent EVENT_7CF
setflag ENGINE_ROCKET_SIGNAL_ON_CH20 setflag ENGINE_ROCKET_SIGNAL_ON_CH20
setflag ENGINE_ROCKETS_IN_MAHOGANY setflag ENGINE_ROCKETS_IN_MAHOGANY
variablesprite $4, $52 variablesprite $4, $52
@@ -606,18 +606,18 @@ InitializeEventsScript:
variablesprite $a, $a variablesprite $a, $a
variablesprite $b, $28 variablesprite $b, $28
variablesprite $c, $28 variablesprite $c, $28
setevent $00fb setevent EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM
setevent $076d setevent EVENT_76D
setevent $076c setevent EVENT_76C
setevent $076e setevent EVENT_76E
setevent $076f setevent EVENT_TRAINERS_IN_CERULEAN_GYM
setevent $0773 setevent EVENT_773
setevent $0776 setevent EVENT_776
setevent $0777 setevent EVENT_777
setevent $0779 setevent EVENT_779
setevent $0772 setevent EVENT_772
setevent $077b setevent EVENT_77B
setevent $0036 setevent EVENT_036
return return
AskNumber1MScript: AskNumber1MScript:

View File

@@ -52213,7 +52213,7 @@ EngineFlagAction:: ; 80430
cp $a2 cp $a2
jr c, .read jr c, .read
; Invalid flags are treated as flag $00. ; Invalid flags are treated as flag 00.
.invalid .invalid
xor a xor a

View File

@@ -451,10 +451,10 @@ AzaleaGym_MapEventHeader:
; people-events ; people-events
db 7 db 7
person_event SPRITE_BUGSY, 11, 9, $3, $0, 255, 255, $a0, 0, BugsyScript_0x18ec1e, $ffff person_event SPRITE_BUGSY, 11, 9, $3, $0, 255, 255, $a0, 0, BugsyScript_0x18ec1e, EVENT_ALWAYS_THERE
person_event SPRITE_BUG_CATCHER, 7, 9, $a, $0, 255, 255, $b2, 2, TrainerBug_catcherBug_catcher_benny, $ffff person_event SPRITE_BUG_CATCHER, 7, 9, $a, $0, 255, 255, $b2, 2, TrainerBug_catcherBug_catcher_benny, EVENT_ALWAYS_THERE
person_event SPRITE_BUG_CATCHER, 12, 12, $6, $0, 255, 255, $b2, 3, TrainerBug_catcherAl, $ffff person_event SPRITE_BUG_CATCHER, 12, 12, $6, $0, 255, 255, $b2, 3, TrainerBug_catcherAl, EVENT_ALWAYS_THERE
person_event SPRITE_BUG_CATCHER, 6, 4, $6, $0, 255, 255, $b2, 3, TrainerBug_catcherJosh, $ffff person_event SPRITE_BUG_CATCHER, 6, 4, $6, $0, 255, 255, $b2, 3, TrainerBug_catcherJosh, EVENT_ALWAYS_THERE
person_event SPRITE_TWIN, 14, 8, $6, $0, 255, 255, $82, 1, TrainerTwinsAmyandmay1, $ffff person_event SPRITE_TWIN, 14, 8, $6, $0, 255, 255, $82, 1, TrainerTwinsAmyandmay1, EVENT_ALWAYS_THERE
person_event SPRITE_TWIN, 14, 9, $6, $0, 255, 255, $82, 1, TrainerTwinsAmyandmay2, $ffff person_event SPRITE_TWIN, 14, 9, $6, $0, 255, 255, $82, 1, TrainerTwinsAmyandmay2, EVENT_ALWAYS_THERE
person_event SPRITE_GYM_GUY, 17, 11, $6, $0, 255, 255, $80, 0, AzaleaGymGuyScript, $ffff person_event SPRITE_GYM_GUY, 17, 11, $6, $0, 255, 255, $80, 0, AzaleaGymGuyScript, EVENT_ALWAYS_THERE

View File

@@ -57,6 +57,6 @@ AzaleaMart_MapEventHeader:
; people-events ; people-events
db 3 db 3
person_event SPRITE_CLERK, 7, 5, $9, $0, 255, 255, $0, 0, ClerkScript_0x18e040, $ffff person_event SPRITE_CLERK, 7, 5, $9, $0, 255, 255, $0, 0, ClerkScript_0x18e040, EVENT_ALWAYS_THERE
person_event SPRITE_COOLTRAINER_M, 9, 6, $7, $0, 255, 255, $0, 0, CooltrainerMScript_0x18e047, $ffff person_event SPRITE_COOLTRAINER_M, 9, 6, $7, $0, 255, 255, $0, 0, CooltrainerMScript_0x18e047, EVENT_ALWAYS_THERE
person_event SPRITE_BUG_CATCHER, 6, 11, $5, $2, 255, 255, $80, 0, BugCatcherScript_0x18e04a, $ffff person_event SPRITE_BUG_CATCHER, 6, 11, $5, $2, 255, 255, $80, 0, BugCatcherScript_0x18e04a, EVENT_ALWAYS_THERE

View File

@@ -90,7 +90,7 @@ AzaleaPokeCenter1F_MapEventHeader:
; people-events ; people-events
db 4 db 4
person_event SPRITE_NURSE, 5, 7, $6, $0, 255, 255, $0, 0, NurseScript_0x18db28, $ffff person_event SPRITE_NURSE, 5, 7, $6, $0, 255, 255, $0, 0, NurseScript_0x18db28, EVENT_ALWAYS_THERE
person_event SPRITE_GENTLEMAN, 10, 13, $4, $10, 255, 255, $0, 0, GentlemanScript_0x18db2b, $ffff person_event SPRITE_GENTLEMAN, 10, 13, $4, $10, 255, 255, $0, 0, GentlemanScript_0x18db2b, EVENT_ALWAYS_THERE
person_event SPRITE_FISHING_GURU, 5, 10, $6, $0, 255, 255, $0, 0, FishingGuruScript_0x18db2e, $ffff person_event SPRITE_FISHING_GURU, 5, 10, $6, $0, 255, 255, $0, 0, FishingGuruScript_0x18db2e, EVENT_ALWAYS_THERE
person_event SPRITE_POKEFAN_F, 8, 5, $2, $21, 255, 255, $0, 0, PokefanFScript_0x18db31, $ffff person_event SPRITE_POKEFAN_F, 8, 5, $2, $21, 255, 255, $0, 0, PokefanFScript_0x18db31, EVENT_ALWAYS_THERE

View File

@@ -51,7 +51,7 @@ UnknownScript_0x198049:
writetext UnknownText_0x19814d writetext UnknownText_0x19814d
closetext closetext
loadmovesprites loadmovesprites
setevent $06bf setevent EVENT_6BF
checkevent EVENT_GOT_TOTODILE_FROM_ELM checkevent EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x198071 iftrue UnknownScript_0x198071
checkevent EVENT_GOT_CHIKORITA_FROM_ELM checkevent EVENT_GOT_CHIKORITA_FROM_ELM
@@ -158,8 +158,8 @@ UnknownScript_0x1980e5:
verbosegiveitem GS_BALL, 1 verbosegiveitem GS_BALL, 1
spriteface $d, LEFT spriteface $d, LEFT
setflag ENGINE_HAVE_EXAMINED_GS_BALL setflag ENGINE_HAVE_EXAMINED_GS_BALL
clearevent $06ed clearevent EVENT_6ED
setevent $06eb setevent EVENT_6EB
dotrigger $0 dotrigger $0
loadmovesprites loadmovesprites
end end
@@ -482,15 +482,15 @@ AzaleaTown_MapEventHeader:
; people-events ; people-events
db 12 db 12
person_event SPRITE_AZALEA_ROCKET, 13, 35, $6, $0, 255, 255, $0, 0, AzaleaRocketScript_0x1980ab, $06fa person_event SPRITE_AZALEA_ROCKET, 13, 35, $6, $0, 255, 255, $0, 0, AzaleaRocketScript_0x1980ab, EVENT_6FA
person_event SPRITE_GRAMPS, 13, 25, $2, $21, 255, 255, $0, 0, GrampsScript_0x1980b1, $ffff person_event SPRITE_GRAMPS, 13, 25, $2, $21, 255, 255, $0, 0, GrampsScript_0x1980b1, EVENT_ALWAYS_THERE
person_event SPRITE_TEACHER, 17, 19, $4, $20, 255, 255, $90, 0, TeacherScript_0x1980c5, $ffff person_event SPRITE_TEACHER, 17, 19, $4, $20, 255, 255, $90, 0, TeacherScript_0x1980c5, EVENT_ALWAYS_THERE
person_event SPRITE_YOUNGSTER, 13, 11, $5, $1, 255, 255, $a0, 0, YoungsterScript_0x1980c8, $ffff person_event SPRITE_YOUNGSTER, 13, 11, $5, $1, 255, 255, $a0, 0, YoungsterScript_0x1980c8, EVENT_ALWAYS_THERE
person_event SPRITE_SLOWPOKE, 21, 12, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, $06f9 person_event SPRITE_SLOWPOKE, 21, 12, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, EVENT_6F9
person_event SPRITE_SLOWPOKE, 13, 22, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, $06f9 person_event SPRITE_SLOWPOKE, 13, 22, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, EVENT_6F9
person_event SPRITE_SLOWPOKE, 13, 33, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, $06f9 person_event SPRITE_SLOWPOKE, 13, 33, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, EVENT_6F9
person_event SPRITE_SLOWPOKE, 19, 19, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, $06f9 person_event SPRITE_SLOWPOKE, 19, 19, $1, $0, 255, 255, $0, 0, SlowpokeScript_0x1980cb, EVENT_6F9
person_event SPRITE_FRUIT_TREE, 6, 12, $1, $0, 255, 255, $0, 0, WhiteApricornTree, $ffff person_event SPRITE_FRUIT_TREE, 6, 12, $1, $0, 255, 255, $0, 0, WhiteApricornTree, EVENT_ALWAYS_THERE
person_event SPRITE_AZALEA_ROCKET, 14, 15, $8, $0, 255, 255, $0, 0, ObjectEvent, $06bf person_event SPRITE_AZALEA_ROCKET, 14, 15, $8, $0, 255, 255, $0, 0, ObjectEvent, EVENT_6BF
person_event SPRITE_AZALEA_ROCKET, 20, 14, $6, $0, 255, 255, $0, 0, AzaleaRocketScript_0x1980ae, $06fc person_event SPRITE_AZALEA_ROCKET, 20, 14, $6, $0, 255, 255, $0, 0, AzaleaRocketScript_0x1980ae, EVENT_6FC
person_event SPRITE_KURT_OUTSIDE, 9, 10, $8, $0, 255, 255, $0, 0, KurtOutsideScript_0x19810c, $07a4 person_event SPRITE_KURT_OUTSIDE, 9, 10, $8, $0, 255, 255, $0, 0, KurtOutsideScript_0x19810c, EVENT_7A4

View File

@@ -810,8 +810,8 @@ BattleTower1F_MapEventHeader:
; people-events ; people-events
db 5 db 5
person_event SPRITE_RECEPTIONIST, 10, 11, $6, $0, 255, 255, $0, 0, ReceptionistScript_0x9e3e2, $ffff person_event SPRITE_RECEPTIONIST, 10, 11, $6, $0, 255, 255, $0, 0, ReceptionistScript_0x9e3e2, EVENT_ALWAYS_THERE
person_event SPRITE_YOUNGSTER, 13, 18, $9, $0, 255, 255, $b0, 0, YoungsterScript_0x9e55d, $ffff person_event SPRITE_YOUNGSTER, 13, 18, $9, $0, 255, 255, $b0, 0, YoungsterScript_0x9e55d, EVENT_ALWAYS_THERE
person_event SPRITE_COOLTRAINER_F, 13, 8, $5, $1, 255, 255, $80, 0, CooltrainerFScript_0x9e568, $ffff person_event SPRITE_COOLTRAINER_F, 13, 8, $5, $1, 255, 255, $80, 0, CooltrainerFScript_0x9e568, EVENT_ALWAYS_THERE
person_event SPRITE_BUG_CATCHER, 7, 5, $2, $11, 255, 255, $90, 0, BugCatcherScript_0x9e56b, $ffff person_event SPRITE_BUG_CATCHER, 7, 5, $2, $11, 255, 255, $90, 0, BugCatcherScript_0x9e56b, EVENT_ALWAYS_THERE
person_event SPRITE_GRANNY, 7, 18, $4, $10, 255, 255, $0, 0, GrannyScript_0x9e56e, $ffff person_event SPRITE_GRANNY, 7, 18, $4, $10, 255, 255, $0, 0, GrannyScript_0x9e56e, EVENT_ALWAYS_THERE

View File

@@ -155,5 +155,5 @@ BattleTowerBattleRoom_MapEventHeader:
; people-events ; people-events
db 2 db 2
person_event SPRITE_YOUNGSTER, 4, 8, $6, $0, 255, 255, $0, 0, ObjectEvent, $0791 person_event SPRITE_YOUNGSTER, 4, 8, $6, $0, 255, 255, $0, 0, ObjectEvent, EVENT_791
person_event SPRITE_RECEPTIONIST, 10, 5, $9, $0, 255, 255, $0, 0, ObjectEvent, $ffff person_event SPRITE_RECEPTIONIST, 10, 5, $9, $0, 255, 255, $0, 0, ObjectEvent, EVENT_ALWAYS_THERE

View File

@@ -60,4 +60,4 @@ BattleTowerElevator_MapEventHeader:
; people-events ; people-events
db 1 db 1
person_event SPRITE_RECEPTIONIST, 6, 5, $9, $0, 255, 255, $0, 0, MovementData_0x9f58f, $ffff person_event SPRITE_RECEPTIONIST, 6, 5, $9, $0, 255, 255, $0, 0, MovementData_0x9f58f, EVENT_ALWAYS_THERE

View File

@@ -96,4 +96,4 @@ BattleTowerHallway_MapEventHeader:
; people-events ; people-events
db 1 db 1
person_event SPRITE_RECEPTIONIST, 6, 15, $6, $0, 255, 255, $0, 0, BattleTowerHallway_MapEventHeader, $ffff person_event SPRITE_RECEPTIONIST, 6, 15, $6, $0, 255, 255, $0, 0, BattleTowerHallway_MapEventHeader, EVENT_ALWAYS_THERE

View File

@@ -13,7 +13,7 @@ BattleTowerOutside_MapScriptHeader:
return return
.Callback2 .Callback2
clearevent $07cf clearevent EVENT_7CF
return return
StandingYoungsterScript_0x9f85f: StandingYoungsterScript_0x9f85f:
@@ -142,7 +142,7 @@ BattleTowerOutside_MapEventHeader:
; people-events ; people-events
db 4 db 4
person_event SPRITE_STANDING_YOUNGSTER, 16, 10, $7, $0, 255, 255, $80, 0, StandingYoungsterScript_0x9f85f, $ffff person_event SPRITE_STANDING_YOUNGSTER, 16, 10, $7, $0, 255, 255, $80, 0, StandingYoungsterScript_0x9f85f, EVENT_ALWAYS_THERE
person_event SPRITE_BUENA, 15, 17, $2, $11, 255, 255, $a0, 0, BuenaScript_0x9f862, $ffff person_event SPRITE_BUENA, 15, 17, $2, $11, 255, 255, $a0, 0, BuenaScript_0x9f862, EVENT_ALWAYS_THERE
person_event SPRITE_SAILOR, 22, 16, $5, $1, 255, 255, $0, 0, SailorScript_0x9f865, $07cf person_event SPRITE_SAILOR, 22, 16, $5, $1, 255, 255, $0, 0, SailorScript_0x9f865, EVENT_7CF
person_event SPRITE_LASS, 28, 16, $3, $0, 255, 255, $a0, 0, ObjectEvent, $ffff person_event SPRITE_LASS, 28, 16, $3, $0, 255, 255, $a0, 0, ObjectEvent, EVENT_ALWAYS_THERE

View File

@@ -8,7 +8,7 @@ BillsHouse_MapScriptHeader:
GrampsScript_0x189538: GrampsScript_0x189538:
faceplayer faceplayer
loadfont loadfont
checkevent $0000 checkevent EVENT_000
iftrue UnknownScript_0x1896ba iftrue UnknownScript_0x1896ba
checkevent EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA checkevent EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA
iftrue UnknownScript_0x1896c0 iftrue UnknownScript_0x1896c0
@@ -120,7 +120,7 @@ UnknownScript_0x18963b:
verbosegiveitem EVERSTONE, 1 verbosegiveitem EVERSTONE, 1
iffalse UnknownScript_0x1896cc iffalse UnknownScript_0x1896cc
setevent EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA setevent EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA
setevent $0000 setevent EVENT_000
loadmovesprites loadmovesprites
end end
@@ -131,7 +131,7 @@ UnknownScript_0x189652:
verbosegiveitem LEAF_STONE, 1 verbosegiveitem LEAF_STONE, 1
iffalse UnknownScript_0x1896cc iffalse UnknownScript_0x1896cc
setevent EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA setevent EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA
setevent $0000 setevent EVENT_000
loadmovesprites loadmovesprites
end end
@@ -142,7 +142,7 @@ UnknownScript_0x189669:
verbosegiveitem WATER_STONE, 1 verbosegiveitem WATER_STONE, 1
iffalse UnknownScript_0x1896cc iffalse UnknownScript_0x1896cc
setevent EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA setevent EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA
setevent $0000 setevent EVENT_000
loadmovesprites loadmovesprites
end end
@@ -153,7 +153,7 @@ UnknownScript_0x189680:
verbosegiveitem FIRE_STONE, 1 verbosegiveitem FIRE_STONE, 1
iffalse UnknownScript_0x1896cc iffalse UnknownScript_0x1896cc
setevent EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA setevent EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA
setevent $0000 setevent EVENT_000
loadmovesprites loadmovesprites
end end
@@ -367,4 +367,4 @@ BillsHouse_MapEventHeader:
; people-events ; people-events
db 1 db 1
person_event SPRITE_GRAMPS, 7, 6, $7, $20, 255, 255, $90, 0, GrampsScript_0x189538, $ffff person_event SPRITE_GRAMPS, 7, 6, $7, $20, 255, 255, $90, 0, GrampsScript_0x189538, EVENT_ALWAYS_THERE

View File

@@ -333,12 +333,12 @@ BlackthornCity_MapEventHeader:
; people-events ; people-events
db 9 db 9
person_event SPRITE_SUPER_NERD, 16, 22, $6, $0, 255, 255, $80, 0, SuperNerdScript_0x1a46e8, $06e3 person_event SPRITE_SUPER_NERD, 16, 22, $6, $0, 255, 255, $80, 0, SuperNerdScript_0x1a46e8, EVENT_6E3
person_event SPRITE_SUPER_NERD, 16, 23, $6, $0, 255, 255, $80, 0, SuperNerdScript_0x1a46e8, $06e4 person_event SPRITE_SUPER_NERD, 16, 23, $6, $0, 255, 255, $80, 0, SuperNerdScript_0x1a46e8, EVENT_6E4
person_event SPRITE_GRAMPS, 6, 24, $6, $0, 255, 255, $0, 0, GrampsScript_0x1a4708, $074c person_event SPRITE_GRAMPS, 6, 24, $6, $0, 255, 255, $0, 0, GrampsScript_0x1a4708, EVENT_74C
person_event SPRITE_GRAMPS, 6, 25, $8, $0, 255, 255, $0, 0, GrampsScript_0x1a470b, $074d person_event SPRITE_GRAMPS, 6, 25, $8, $0, 255, 255, $0, 0, GrampsScript_0x1a470b, EVENT_74D
person_event SPRITE_BLACK_BELT, 35, 28, $5, $1, 255, 255, $90, 0, BlackBeltScript_0x1a470e, $ffff person_event SPRITE_BLACK_BELT, 35, 28, $5, $1, 255, 255, $90, 0, BlackBeltScript_0x1a470e, EVENT_ALWAYS_THERE
person_event SPRITE_COOLTRAINER_F, 29, 13, $5, $2, 255, 255, $80, 0, CooltrainerFScript_0x1a4722, $ffff person_event SPRITE_COOLTRAINER_F, 29, 13, $5, $2, 255, 255, $80, 0, CooltrainerFScript_0x1a4722, EVENT_ALWAYS_THERE
person_event SPRITE_YOUNGSTER, 19, 17, $5, $1, 255, 255, $0, 0, YoungsterScript_0x1a4725, $ffff person_event SPRITE_YOUNGSTER, 19, 17, $5, $1, 255, 255, $0, 0, YoungsterScript_0x1a4725, EVENT_ALWAYS_THERE
person_event SPRITE_YOUNGSTER, 24, 26, $6, $0, 255, 255, $0, 0, SantosScript, $075d person_event SPRITE_YOUNGSTER, 24, 26, $6, $0, 255, 255, $0, 0, SantosScript, EVENT_75D
person_event SPRITE_COOLTRAINER_F, 23, 39, $7, $0, 255, 255, $a0, 0, CooltrainerFScript_0x1a4728, $ffff person_event SPRITE_COOLTRAINER_F, 23, 39, $7, $0, 255, 255, $a0, 0, CooltrainerFScript_0x1a4728, EVENT_ALWAYS_THERE

View File

@@ -35,4 +35,4 @@ BlackthornDodrioTradeHouse_MapEventHeader:
; people-events ; people-events
db 1 db 1
person_event SPRITE_LASS, 7, 6, $3, $0, 255, 255, $a0, 0, Emy, $ffff person_event SPRITE_LASS, 7, 6, $3, $0, 255, 255, $a0, 0, Emy, EVENT_ALWAYS_THERE

View File

@@ -58,5 +58,5 @@ BlackthornDragonSpeechHouse_MapEventHeader:
; people-events ; people-events
db 2 db 2
person_event SPRITE_GRANNY, 7, 6, $3, $0, 255, 255, $0, 0, GrannyScript_0x195949, $ffff person_event SPRITE_GRANNY, 7, 6, $3, $0, 255, 255, $0, 0, GrannyScript_0x195949, EVENT_ALWAYS_THERE
person_event SPRITE_EKANS, 9, 9, $16, $0, 255, 255, $90, 0, EkansScript_0x19594c, $ffff person_event SPRITE_EKANS, 9, 9, $16, $0, 255, 255, $90, 0, EkansScript_0x19594c, EVENT_ALWAYS_THERE

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