Added labels to different parts of the map script and event headers

This commit is contained in:
PikalaxALT
2015-07-21 00:02:21 -04:00
parent 471492b775
commit 5631bdc0d7
395 changed files with 2403 additions and 2390 deletions

View File

@@ -1941,7 +1941,7 @@ Functionb1de: ; b1de
callba Function494ac
jr c, .asm_b230
ld a, [wRoofPalette]
ld a, [wPermission]
and 7
ld e, a
ld d, 0
@@ -2007,7 +2007,7 @@ endr
ld a, $5 ; BANK(Unkn2Pals)
call FarCopyWRAM
ld a, [wRoofPalette]
ld a, [wPermission]
cp 1
jr z, .asm_b253
cp 2

View File

@@ -146,7 +146,7 @@ Function97cfd:: ; 97cfd
ld hl, StatusFlags
bit 5, [hl]
jr nz, .asm_97d21
ld a, [wRoofPalette]
ld a, [wPermission]
cp $4
jr z, .asm_97d17
cp $7

View File

@@ -14,7 +14,7 @@ ResetBikeFlags:: ; 2e56
; 2e5d
ResetFlashIfOutOfCave:: ; 2e5d
ld a, [wRoofPalette]
ld a, [wPermission]
cp $2
jr z, .asm_2e69
cp $1

View File

@@ -2506,7 +2506,7 @@ Function_0xf5b1: ; f5b1
Itemfinder: ; f5b8
callba Function12580
callba ItemFinder
ret
; f5bf

123
main.asm
View File

@@ -12789,8 +12789,8 @@ MovementData_0x12579: ; 0x12579
; 0x12580
Function12580: ; 12580
callba Functionb8172
ItemFinder: ; 12580
callba CheckForSignpostItems
jr c, .asm_1258d
ld hl, UnknownScript_0x125ba
jr .asm_12590
@@ -41327,7 +41327,7 @@ Function494ac: ; 494ac
ret
.ice_path
ld a, [wRoofPalette] ; permission
ld a, [wPermission] ; permission
and 7
cp 3 ; Hall of Fame
jr z, .do_nothing
@@ -52472,7 +52472,7 @@ VarActionTable: ; 80671
dwb MapGroup, $00
dwb MapNumber, $00
dwb Function806ff, $80
dwb wRoofPalette, $00
dwb wPermission, $00
dwb Function80715, $80
dwb wd46c, $00
dwb XCoord, $00
@@ -64097,7 +64097,7 @@ Function8c365: ; 8c365 (23:4365)
jr nc, .asm_8c375
set 0, e
.asm_8c375
ld a, [wRoofPalette]
ld a, [wPermission]
cp $4
jr z, .asm_8c386
cp $5
@@ -65623,13 +65623,13 @@ Function8ceae: ; 8ceae
ld [rSVBK], a
ld a, [TimeOfDayPal]
push af
ld a, [wRoofPalette]
ld a, [wPermission]
push af
ld a, [TimeOfDay]
and $3
ld [TimeOfDayPal], a
ld a, $1
ld [wRoofPalette], a
ld [wPermission], a
ld b, $9
call GetSGBLayout
call UpdateTimePals
@@ -65640,7 +65640,7 @@ Function8ceae: ; 8ceae
ld a, [rOBP1]
ld [wcfc9], a
pop af
ld [wRoofPalette], a
ld [wPermission], a
pop af
ld [TimeOfDayPal], a
pop af
@@ -69283,7 +69283,7 @@ Function90178: ; 90178 (24:4178)
ret
Function90188: ; 90188
ld a, [wRoofPalette]
ld a, [wPermission]
cp $1
jr z, .asm_90195
cp $2
@@ -76090,15 +76090,15 @@ Functionb8101: ; b8101 (2e:4101)
ld c, $0
push hl
ld hl, StringBuffer1
.asm_b8107
.loop
ld a, [hli]
cp $50
jr z, .asm_b8113
jr z, .stop
cp $25
jr z, .asm_b8107
jr z, .loop
inc c
jr .asm_b8107
.asm_b8113
jr .loop
.stop
pop hl
ret
@@ -76113,19 +76113,19 @@ rept 2
inc c
endr
ld a, $87
.asm_b811f
.loop
push bc
push hl
.asm_b8121
.inner_loop
ld [hli], a
dec c
jr nz, .asm_b8121
jr nz, .inner_loop
pop hl
ld de, SCREEN_WIDTH
add hl, de
pop bc
dec b
jr nz, .asm_b811f
jr nz, .loop
ret
; b812f
@@ -76134,94 +76134,105 @@ Functionb812f: ; b812f
ld a, $61
ld [hli], a
ld a, $62
call Functionb8164
call .Fill5Words
ld a, $64
ld [hli], a
ld a, $65
ld [hli], a
call Functionb815b
call .Fill18Bytes
ld a, $6b
ld [hli], a
ld a, $66
ld [hli], a
call Functionb815b
call .Fill18Bytes
ld a, $6c
ld [hli], a
ld a, $67
ld [hli], a
ld a, $68
call Functionb8164
call .Fill5Words
ld a, $6a
ld [hl], a
ret
; b815b
Functionb815b: ; b815b
ld c, $12
.Fill18Bytes: ; b815b
ld c, 18
ld a, $6d
.asm_b815f
.loop
ld [hli], a
dec c
jr nz, .asm_b815f
jr nz, .loop
ret
; b8164
Functionb8164: ; b8164
ld c, $5
jr .asm_b816a
.Fill5Words: ; b8164
ld c, 5
jr .enterloop
.asm_b8168
.continueloop
rept 2
ld [hli], a
endr
.asm_b816a
.enterloop
inc a
rept 2
ld [hli], a
endr
dec a
dec c
jr nz, .asm_b8168
jr nz, .continueloop
ret
; b8172
Functionb8172: ; b8172
CheckForSignpostItems: ; b8172
; Checks to see if there are hidden items on the screen that have not yet been found. If it finds one, returns carry.
call GetMapScriptHeaderBank
ld [Buffer1], a
; Get the coordinate of the bottom right corner of the screen, and load it in wd1ec/wd1ed.
ld a, [XCoord]
add $5
add SCREEN_WIDTH / 4
ld [wd1ed], a
ld a, [YCoord]
add $4
add SCREEN_HEIGHT / 4
ld [wd1ec], a
; Get the pointer for the first signpost header in the map...
ld hl, wdc02
ld a, [hli]
ld h, [hl]
ld l, a
; ... before even checking to see if there are any signposts on this map.
ld a, [wCurrentMapSignpostCount]
and a
jr z, .asm_b81dd
.asm_b8194
jr z, .nosignpostitems
; For i = 1:wCurrentMapSignpostCount...
.loop
; Store the counter in Buffer2, and store the signpost header pointer in the stack.
ld [Buffer2], a
push hl
call Functionb81e2
; Get the Y coordinate of the signpost.
call .GetFarByte
ld e, a
; Is the Y coordinate of the signpost on the screen? If not, go to the next signpost.
ld a, [wd1ec]
sub e
jr c, .asm_b81d2
cp $9
jr nc, .asm_b81d2
call Functionb81e2
jr c, .next
cp SCREEN_HEIGHT / 2
jr nc, .next
; Is the X coordinate of the signpost on the screen? If not, go to the next signpost.
call .GetFarByte
ld d, a
ld a, [wd1ed]
sub d
jr c, .asm_b81d2
cp $a
jr nc, .asm_b81d2
call Functionb81e2
cp $7
jr nz, .asm_b81d2
jr c, .next
cp SCREEN_WIDTH / 2
jr nc, .next
; Is this signpost a hidden item? If not, go to the next signpost.
call .GetFarByte
cp SIGNPOST_ITEM
jr nz, .next
; Has this item already been found? If not, set off the Itemfinder.
ld a, [Buffer1]
call GetFarHalfword
ld a, [Buffer1]
@@ -76232,27 +76243,29 @@ Functionb8172: ; b8172
call EventFlagAction
ld a, c
and a
jr z, .asm_b81df
jr z, .itemnearby
.asm_b81d2
.next
; Restore the signpost header pointer and increment it by the length of a signpost header.
pop hl
ld bc, $0005
ld bc, 5
add hl, bc
; Restore the signpost counter and decrement it. If it hits zero, there are no hidden items in range.
ld a, [Buffer2]
dec a
jr nz, .asm_b8194
jr nz, .loop
.asm_b81dd
.nosignpostitems
xor a
ret
.asm_b81df
.itemnearby
pop hl
scf
ret
; b81e2
Functionb81e2: ; b81e2
.GetFarByte: ; b81e2
ld a, [Buffer1]
call GetFarByte
inc hl

View File

@@ -1,8 +1,8 @@
AzaleaGym_MapScriptHeader:
; trigger count
.MapTriggers:
db 0
; callback count
.MapCallbacks:
db 0
BugsyScript_0x18ec1e:
@@ -356,20 +356,20 @@ AzaleaGym_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 2
warp_def $f, $4, 5, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
warp_def $f, $5, 5, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 2
signpost 13, 3, SIGNPOST_READ, AzaleaGymStatue
signpost 13, 6, SIGNPOST_READ, AzaleaGymStatue
; people-events
.PersonEvents:
db 7
person_event SPRITE_BUGSY, 11, 9, OW_DOWN | $3, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, BugsyScript_0x18ec1e, -1
person_event SPRITE_BUG_CATCHER, 7, 9, OW_LEFT | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 2, TrainerBug_catcherBug_catcher_benny, -1

View File

@@ -1,8 +1,8 @@
AzaleaMart_MapScriptHeader:
; trigger count
.MapTriggers:
db 0
; callback count
.MapCallbacks:
db 0
ClerkScript_0x18e040:
@@ -44,18 +44,18 @@ AzaleaMart_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 2
warp_def $7, $2, 3, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
warp_def $7, $3, 3, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 0
; people-events
.PersonEvents:
db 3
person_event SPRITE_CLERK, 7, 5, OW_LEFT | $1, $0, -1, -1, $0, 0, ClerkScript_0x18e040, -1
person_event SPRITE_COOLTRAINER_M, 9, 6, OW_UP | $3, $0, -1, -1, $0, 0, CooltrainerMScript_0x18e047, -1

View File

@@ -1,11 +1,11 @@
AzaleaPokeCenter1F_MapScriptHeader:
; trigger count
.MapTriggers:
db 1
; triggers
dw UnknownScript_0x18db27, $0000
; callback count
.MapCallbacks:
db 0
UnknownScript_0x18db27:
@@ -76,19 +76,19 @@ AzaleaPokeCenter1F_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 3
warp_def $7, $3, 1, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
warp_def $7, $4, 1, GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN
warp_def $7, $0, 1, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 0
; people-events
.PersonEvents:
db 4
person_event SPRITE_NURSE, 5, 7, OW_UP | $2, $0, -1, -1, $0, 0, NurseScript_0x18db28, -1
person_event SPRITE_GENTLEMAN, 10, 13, OW_UP | $0, $10, -1, -1, $0, 0, GentlemanScript_0x18db2b, -1

View File

@@ -1,5 +1,5 @@
AzaleaTown_MapScriptHeader:
; trigger count
.MapTriggers:
db 3
; triggers
@@ -7,7 +7,7 @@ AzaleaTown_MapScriptHeader:
dw .Trigger2, $0000
dw .Trigger3, $0000
; callback count
.MapCallbacks:
db 1
; callbacks
@@ -450,7 +450,7 @@ AzaleaTown_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 8
warp_def $9, $f, 1, GROUP_AZALEA_POKECENTER_1F, MAP_AZALEA_POKECENTER_1F
warp_def $d, $15, 1, GROUP_CHARCOAL_KILN, MAP_CHARCOAL_KILN
@@ -461,13 +461,13 @@ AzaleaTown_MapEventHeader:
warp_def $a, $2, 3, GROUP_ILEX_FOREST_AZALEA_GATE, MAP_ILEX_FOREST_AZALEA_GATE
warp_def $b, $2, 4, GROUP_ILEX_FOREST_AZALEA_GATE, MAP_ILEX_FOREST_AZALEA_GATE
; xy triggers
.XYTriggers:
db 3
xy_trigger 1, $a, $5, $0, UnknownScript_0x198018, $0, $0
xy_trigger 1, $b, $5, $0, UnknownScript_0x198034, $0, $0
xy_trigger 2, $6, $9, $0, UnknownScript_0x1980e5, $0, $0
; signposts
.Signposts:
db 9
signpost 9, 19, SIGNPOST_READ, AzaleaTownSign
signpost 9, 10, SIGNPOST_READ, KurtsHouseSign
@@ -479,7 +479,7 @@ AzaleaTown_MapEventHeader:
signpost 9, 3, SIGNPOST_READ, AzaleaTownIlextForestSign
signpost 6, 31, SIGNPOST_ITEM, MapAzaleaTownSignpostItem8
; people-events
.PersonEvents:
db 12
person_event SPRITE_AZALEA_ROCKET, 13, 35, OW_UP | $2, $0, -1, -1, $0, 0, AzaleaRocketScript_0x1980ab, EVENT_AZALEA_TOWN_SLOWPOKETAIL_ROCKET
person_event SPRITE_GRAMPS, 13, 25, OW_DOWN | $2, $21, -1, -1, $0, 0, GrampsScript_0x1980b1, -1

View File

@@ -1,12 +1,12 @@
BattleTower1F_MapScriptHeader:
; trigger count
.MapTriggers:
db 2
; triggers
dw UnknownScript_0x9e39d, $0000
dw UnknownScript_0x9e3d3, $0000
; callback count
.MapCallbacks:
db 0
UnknownScript_0x9e39d:
@@ -795,20 +795,20 @@ BattleTower1F_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 3
warp_def $9, $7, 3, GROUP_BATTLE_TOWER_OUTSIDE, MAP_BATTLE_TOWER_OUTSIDE
warp_def $9, $8, 4, GROUP_BATTLE_TOWER_OUTSIDE, MAP_BATTLE_TOWER_OUTSIDE
warp_def $0, $7, 1, GROUP_BATTLE_TOWER_ELEVATOR, MAP_BATTLE_TOWER_ELEVATOR
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 1
signpost 6, 6, SIGNPOST_READ, MapBattleTower1FSignpost0Script
; people-events
.PersonEvents:
db 5
person_event SPRITE_RECEPTIONIST, 10, 11, OW_UP | $2, $0, -1, -1, $0, 0, ReceptionistScript_0x9e3e2, -1
person_event SPRITE_YOUNGSTER, 13, 18, OW_LEFT | $1, $0, -1, -1, (PAL_OW_BROWN << 4) | $80, 0, YoungsterScript_0x9e55d, -1

View File

@@ -1,12 +1,12 @@
BattleTowerBattleRoom_MapScriptHeader:
; trigger count
.MapTriggers:
db 2
; triggers
dw UnknownScript_0x9f419, $0000
dw UnknownScript_0x9f420, $0000
; callback count
.MapCallbacks:
db 0
UnknownScript_0x9f419:
@@ -142,18 +142,18 @@ BattleTowerBattleRoom_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 2
warp_def $7, $3, 4, GROUP_BATTLE_TOWER_HALLWAY, MAP_BATTLE_TOWER_HALLWAY
warp_def $7, $4, 4, GROUP_BATTLE_TOWER_HALLWAY, MAP_BATTLE_TOWER_HALLWAY
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 0
; people-events
.PersonEvents:
db 2
person_event SPRITE_YOUNGSTER, 4, 8, OW_UP | $2, $0, -1, -1, $0, 0, ObjectEvent, EVENT_BATTLE_TOWER_BATTLE_ROOM_YOUNGSTER
person_event SPRITE_RECEPTIONIST, 10, 5, OW_LEFT | $1, $0, -1, -1, $0, 0, ObjectEvent, -1

View File

@@ -1,12 +1,12 @@
BattleTowerElevator_MapScriptHeader:
; trigger count
.MapTriggers:
db 2
; triggers
dw UnknownScript_0x9f562, $0000
dw UnknownScript_0x9f567, $0000
; callback count
.MapCallbacks:
db 0
UnknownScript_0x9f562:
@@ -47,17 +47,17 @@ BattleTowerElevator_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 2
warp_def $3, $1, 1, GROUP_BATTLE_TOWER_HALLWAY, MAP_BATTLE_TOWER_HALLWAY
warp_def $3, $2, 1, GROUP_BATTLE_TOWER_HALLWAY, MAP_BATTLE_TOWER_HALLWAY
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 0
; people-events
.PersonEvents:
db 1
person_event SPRITE_RECEPTIONIST, 6, 5, OW_LEFT | $1, $0, -1, -1, $0, 0, MovementData_0x9f58f, -1

View File

@@ -1,12 +1,12 @@
BattleTowerHallway_MapScriptHeader:
; trigger count
.MapTriggers:
db 2
; triggers
dw UnknownScript_0x9f5bb, $0000
dw UnknownScript_0x9f5c0, $0000
; callback count
.MapCallbacks:
db 0
UnknownScript_0x9f5bb:
@@ -79,7 +79,7 @@ BattleTowerHallway_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 6
warp_def $1, $b, 1, GROUP_BATTLE_TOWER_ELEVATOR, MAP_BATTLE_TOWER_ELEVATOR
warp_def $0, $5, 1, GROUP_BATTLE_TOWER_BATTLE_ROOM, MAP_BATTLE_TOWER_BATTLE_ROOM
@@ -88,12 +88,12 @@ BattleTowerHallway_MapEventHeader:
warp_def $0, $d, 1, GROUP_BATTLE_TOWER_BATTLE_ROOM, MAP_BATTLE_TOWER_BATTLE_ROOM
warp_def $0, $f, 1, GROUP_BATTLE_TOWER_BATTLE_ROOM, MAP_BATTLE_TOWER_BATTLE_ROOM
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 0
; people-events
.PersonEvents:
db 1
person_event SPRITE_RECEPTIONIST, 6, 15, OW_UP | $2, $0, -1, -1, $0, 0, BattleTowerHallway_MapEventHeader, -1

View File

@@ -1,8 +1,8 @@
BattleTowerOutside_MapScriptHeader:
; trigger count
.MapTriggers:
db 0
; callback count
.MapCallbacks:
db 2
; callbacks
@@ -126,21 +126,21 @@ BattleTowerOutside_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 4
warp_def $15, $8, 3, GROUP_ROUTE_40_BATTLE_TOWER_GATE, MAP_ROUTE_40_BATTLE_TOWER_GATE
warp_def $15, $9, 4, GROUP_ROUTE_40_BATTLE_TOWER_GATE, MAP_ROUTE_40_BATTLE_TOWER_GATE
warp_def $9, $8, 1, GROUP_BATTLE_TOWER_1F, MAP_BATTLE_TOWER_1F
warp_def $9, $9, 2, GROUP_BATTLE_TOWER_1F, MAP_BATTLE_TOWER_1F
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 1
signpost 10, 10, SIGNPOST_READ, MapBattleTowerOutsideSignpost0Script
; people-events
.PersonEvents:
db 4
person_event SPRITE_STANDING_YOUNGSTER, 16, 10, OW_UP | $3, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, StandingYoungsterScript_0x9f85f, -1
person_event SPRITE_BUENA, 15, 17, OW_DOWN | $2, $11, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, BuenaScript_0x9f862, -1

View File

@@ -1,8 +1,8 @@
BillsHouse_MapScriptHeader:
; trigger count
.MapTriggers:
db 0
; callback count
.MapCallbacks:
db 0
GrampsScript_0x189538:
@@ -354,17 +354,17 @@ BillsHouse_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 2
warp_def $7, $2, 1, GROUP_ROUTE_25, MAP_ROUTE_25
warp_def $7, $3, 1, GROUP_ROUTE_25, MAP_ROUTE_25
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 0
; people-events
.PersonEvents:
db 1
person_event SPRITE_GRAMPS, 7, 6, OW_UP | $3, $20, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, GrampsScript_0x189538, -1

View File

@@ -1,8 +1,8 @@
BlackthornCity_MapScriptHeader:
; trigger count
.MapTriggers:
db 0
; callback count
.MapCallbacks:
db 2
; callbacks
@@ -307,7 +307,7 @@ BlackthornCity_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 8
warp_def $b, $12, 1, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
warp_def $15, $d, 1, GROUP_BLACKTHORN_DRAGON_SPEECH_HOUSE, MAP_BLACKTHORN_DRAGON_SPEECH_HOUSE
@@ -318,10 +318,10 @@ BlackthornCity_MapEventHeader:
warp_def $9, $24, 2, GROUP_ICE_PATH_1F, MAP_ICE_PATH_1F
warp_def $1, $14, 1, GROUP_DRAGONS_DEN_1F, MAP_DRAGONS_DEN_1F
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 7
signpost 24, 34, SIGNPOST_READ, BlackthornCitySign
signpost 13, 17, SIGNPOST_READ, BlackthornGymSign
@@ -331,7 +331,7 @@ BlackthornCity_MapEventHeader:
signpost 29, 16, SIGNPOST_READ, BlackthornCityMartSign
signpost 29, 22, SIGNPOST_READ, BlackthornCityPokeCenterSign
; people-events
.PersonEvents:
db 9
person_event SPRITE_SUPER_NERD, 16, 22, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, SuperNerdScript_0x1a46e8, EVENT_BLACKTHORN_CITY_SUPER_NERD_BLOCKS_GYM
person_event SPRITE_SUPER_NERD, 16, 23, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, SuperNerdScript_0x1a46e8, EVENT_BLACKTHORN_CITY_SUPER_NERD_DOES_NOT_BLOCK_GYM

View File

@@ -1,8 +1,8 @@
BlackthornDodrioTradeHouse_MapScriptHeader:
; trigger count
.MapTriggers:
db 0
; callback count
.MapCallbacks:
db 0
Emy:
@@ -20,19 +20,19 @@ BlackthornDodrioTradeHouse_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 2
warp_def $7, $2, 3, GROUP_BLACKTHORN_CITY, MAP_BLACKTHORN_CITY
warp_def $7, $3, 3, GROUP_BLACKTHORN_CITY, MAP_BLACKTHORN_CITY
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 2
signpost 1, 0, SIGNPOST_READ, EmysHouseBookshelf
signpost 1, 1, SIGNPOST_READ, EmysHouseBookshelf
; people-events
.PersonEvents:
db 1
person_event SPRITE_LASS, 7, 6, OW_DOWN | $3, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, Emy, -1

View File

@@ -1,8 +1,8 @@
BlackthornDragonSpeechHouse_MapScriptHeader:
; trigger count
.MapTriggers:
db 0
; callback count
.MapCallbacks:
db 0
GrannyScript_0x195949:
@@ -45,18 +45,18 @@ BlackthornDragonSpeechHouse_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 2
warp_def $7, $2, 2, GROUP_BLACKTHORN_CITY, MAP_BLACKTHORN_CITY
warp_def $7, $3, 2, GROUP_BLACKTHORN_CITY, MAP_BLACKTHORN_CITY
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 0
; people-events
.PersonEvents:
db 2
person_event SPRITE_GRANNY, 7, 6, OW_DOWN | $3, $0, -1, -1, $0, 0, GrannyScript_0x195949, -1
person_event SPRITE_EKANS, 9, 9, OW_UP | $12, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, EkansScript_0x19594c, -1

View File

@@ -1,8 +1,8 @@
BlackthornGym1F_MapScriptHeader:
; trigger count
.MapTriggers:
db 0
; callback count
.MapCallbacks:
db 1
; callbacks
@@ -384,7 +384,7 @@ BlackthornGym1F_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 7
warp_def $11, $4, 1, GROUP_BLACKTHORN_CITY, MAP_BLACKTHORN_CITY
warp_def $11, $5, 1, GROUP_BLACKTHORN_CITY, MAP_BLACKTHORN_CITY
@@ -394,15 +394,15 @@ BlackthornGym1F_MapEventHeader:
warp_def $7, $7, 4, GROUP_BLACKTHORN_GYM_2F, MAP_BLACKTHORN_GYM_2F
warp_def $6, $7, 5, GROUP_BLACKTHORN_GYM_2F, MAP_BLACKTHORN_GYM_2F
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 2
signpost 15, 3, SIGNPOST_READ, BlackthornGymStatue
signpost 15, 6, SIGNPOST_READ, BlackthornGymStatue
; people-events
.PersonEvents:
db 5
person_event SPRITE_CLAIR, 7, 9, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, ClairScript_0x194e24, -1
person_event SPRITE_COOLTRAINER_M, 10, 10, OW_UP | $2, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerCooltrainermMike, -1

View File

@@ -1,8 +1,8 @@
BlackthornGym2F_MapScriptHeader:
; trigger count
.MapTriggers:
db 0
; callback count
.MapCallbacks:
db 1
; callbacks
@@ -129,7 +129,7 @@ BlackthornGym2F_MapEventHeader:
; filler
db 0, 0
; warps
.Warps:
db 5
warp_def $7, $1, 3, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
warp_def $9, $7, 4, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
@@ -137,13 +137,13 @@ BlackthornGym2F_MapEventHeader:
warp_def $7, $8, 6, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
warp_def $3, $8, 7, GROUP_BLACKTHORN_GYM_1F, MAP_BLACKTHORN_GYM_1F
; xy triggers
.XYTriggers:
db 0
; signposts
.Signposts:
db 0
; people-events
.PersonEvents:
db 8
person_event SPRITE_COOLTRAINER_M, 5, 8, OW_LEFT | $1, $0, -1, -1, (PAL_OW_RED << 4) | $82, 1, TrainerCooltrainermCody, -1
person_event SPRITE_COOLTRAINER_F, 15, 8, OW_LEFT | $0, $0, -1, -1, (PAL_OW_RED << 4) | $82, 1, TrainerCooltrainerfFran, -1

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