Merge pull request #358 from AntonioND/an/fix-floating

Fix floating sections
This commit is contained in:
Sanqui 2017-03-15 14:58:53 +01:00 committed by GitHub
commit 365d98d189
21 changed files with 176 additions and 176 deletions

View File

@ -1,7 +1,7 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "Audio", ROMX, BANK[AUDIO] SECTION "Audio", ROMX[$4000], BANK[AUDIO]
INCLUDE "audio/engine.asm" INCLUDE "audio/engine.asm"
@ -21,7 +21,7 @@ INCLUDE "audio/sfx_pointers.asm"
SECTION "Songs 1", ROMX, BANK[SONGS_1] SECTION "Songs 1", ROMX[$54e9], BANK[SONGS_1]
INCLUDE "audio/music/route36.asm" INCLUDE "audio/music/route36.asm"
INCLUDE "audio/music/rivalbattle.asm" INCLUDE "audio/music/rivalbattle.asm"
@ -40,7 +40,7 @@ INCLUDE "audio/music/lookpokemaniac.asm"
INCLUDE "audio/music/trainervictory.asm" INCLUDE "audio/music/trainervictory.asm"
SECTION "Songs 2", ROMX, BANK[SONGS_2] SECTION "Songs 2", ROMX[$4000], BANK[SONGS_2]
INCLUDE "audio/music/route1.asm" INCLUDE "audio/music/route1.asm"
INCLUDE "audio/music/route3.asm" INCLUDE "audio/music/route3.asm"
@ -76,7 +76,7 @@ INCLUDE "audio/music/contestresults.asm"
INCLUDE "audio/music/route30.asm" INCLUDE "audio/music/route30.asm"
SECTION "Songs 3", ROMX, BANK[SONGS_3] SECTION "Songs 3", ROMX[$4000], BANK[SONGS_3]
INCLUDE "audio/music/violetcity.asm" INCLUDE "audio/music/violetcity.asm"
INCLUDE "audio/music/route29.asm" INCLUDE "audio/music/route29.asm"
@ -86,7 +86,7 @@ INCLUDE "audio/music/evolution.asm"
INCLUDE "audio/music/printer.asm" INCLUDE "audio/music/printer.asm"
SECTION "Songs 4", ROMX, BANK[SONGS_4] SECTION "Songs 4", ROMX[$4000], BANK[SONGS_4]
INCLUDE "audio/music/viridiancity.asm" INCLUDE "audio/music/viridiancity.asm"
INCLUDE "audio/music/celadoncity.asm" INCLUDE "audio/music/celadoncity.asm"
@ -127,7 +127,7 @@ INCLUDE "audio/music/pokeflutechannel.asm"
INCLUDE "audio/music/bugcatchingcontest.asm" INCLUDE "audio/music/bugcatchingcontest.asm"
SECTION "Songs 5", ROMX, BANK[SONGS_5] SECTION "Songs 5", ROMX[$401f], BANK[SONGS_5]
INCLUDE "audio/music/mobileadaptermenu.asm" INCLUDE "audio/music/mobileadaptermenu.asm"
INCLUDE "audio/music/buenaspassword.asm" INCLUDE "audio/music/buenaspassword.asm"
@ -140,31 +140,31 @@ INCLUDE "audio/music/mobilecenter.asm"
SECTION "Extra Songs 1", ROMX, BANK[EXTRA_SONGS_1] SECTION "Extra Songs 1", ROMX[$731c], BANK[EXTRA_SONGS_1]
INCLUDE "audio/music/credits.asm" INCLUDE "audio/music/credits.asm"
INCLUDE "audio/music/clair.asm" INCLUDE "audio/music/clair.asm"
INCLUDE "audio/music/mobileadapter.asm" INCLUDE "audio/music/mobileadapter.asm"
SECTION "Extra Songs 2", ROMX, BANK[EXTRA_SONGS_2] SECTION "Extra Songs 2", ROMX[$7d9e], BANK[EXTRA_SONGS_2]
INCLUDE "audio/music/postcredits.asm" INCLUDE "audio/music/postcredits.asm"
SECTION "Sound Effects", ROMX, BANK[SOUND_EFFECTS] SECTION "Sound Effects", ROMX[$4941], BANK[SOUND_EFFECTS]
INCLUDE "audio/sfx.asm" INCLUDE "audio/sfx.asm"
SECTION "Crystal Sound Effects", ROMX, BANK[CRYSTAL_SOUND_EFFECTS] SECTION "Crystal Sound Effects", ROMX[$582D], BANK[CRYSTAL_SOUND_EFFECTS]
INCLUDE "audio/sfx_crystal.asm" INCLUDE "audio/sfx_crystal.asm"
SECTION "Cries", ROMX, BANK[CRIES] SECTION "Cries", ROMX[$6787], BANK[CRIES]
CryHeaders:: INCLUDE "audio/cry_headers.asm" CryHeaders:: INCLUDE "audio/cry_headers.asm"

View File

@ -1,7 +1,7 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "Egg Moves", ROMX, BANK[EGG_MOVES] SECTION "Egg Moves", ROMX[$7b11], BANK[EGG_MOVES]
; All instances of Charm, Steel Wing, Sweet Scent, and Lovely Kiss were ; All instances of Charm, Steel Wing, Sweet Scent, and Lovely Kiss were
; removed from egg move lists in Crystal, because they are also TMs. ; removed from egg move lists in Crystal, because they are also TMs.

View File

@ -1,7 +1,7 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "Evolutions and Attacks", ROMX, BANK[EVOS_ATTACKS] SECTION "Evolutions and Attacks", ROMX[$65b1], BANK[EVOS_ATTACKS]
INCLUDE "data/evos_attacks_pointers.asm" INCLUDE "data/evos_attacks_pointers.asm"

View File

@ -1,25 +1,25 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "Pokedex Entries 001-064", ROMX, BANK[POKEDEX_ENTRIES_1] SECTION "Pokedex Entries 001-064", ROMX[$5695], BANK[POKEDEX_ENTRIES_1]
PokedexEntries1:: PokedexEntries1::
INCLUDE "data/pokedex/entries_1.asm" INCLUDE "data/pokedex/entries_1.asm"
SECTION "Pokedex Entries 065-128", ROMX, BANK[POKEDEX_ENTRIES_2] SECTION "Pokedex Entries 065-128", ROMX[$4000], BANK[POKEDEX_ENTRIES_2]
PokedexEntries2:: PokedexEntries2::
INCLUDE "data/pokedex/entries_2.asm" INCLUDE "data/pokedex/entries_2.asm"
SECTION "Pokedex Entries 129-192", ROMX, BANK[POKEDEX_ENTRIES_3] SECTION "Pokedex Entries 129-192", ROMX[$4000], BANK[POKEDEX_ENTRIES_3]
PokedexEntries3:: PokedexEntries3::
INCLUDE "data/pokedex/entries_3.asm" INCLUDE "data/pokedex/entries_3.asm"
SECTION "Pokedex Entries 193-251", ROMX, BANK[POKEDEX_ENTRIES_4] SECTION "Pokedex Entries 193-251", ROMX[$4000], BANK[POKEDEX_ENTRIES_4]
PokedexEntries4:: PokedexEntries4::
INCLUDE "data/pokedex/entries_4.asm" INCLUDE "data/pokedex/entries_4.asm"

View File

@ -1,6 +1,6 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "Credits", ROMX, BANK[CREDITS] SECTION "Credits", ROMX[$5847], BANK[CREDITS]
const_def const_def
const SATOSHI_TAJIRI const SATOSHI_TAJIRI

View File

@ -1,6 +1,6 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "Events", ROMX, BANK[EVENTS] SECTION "Events", ROMX[$66b0], BANK[EVENTS]
OverworldLoop:: ; 966b0 OverworldLoop:: ; 966b0
xor a xor a

View File

@ -10,12 +10,12 @@ SECTION "Unown Pic Pointers", ROMX[$4000], BANK[UNOWN_PIC_POINTERS]
UnownPicPointers:: INCLUDE "gfx/pics/unown_pic_pointers.asm" UnownPicPointers:: INCLUDE "gfx/pics/unown_pic_pointers.asm"
SECTION "Trainer Pic Pointers", ROMX, BANK[TRAINER_PIC_POINTERS] SECTION "Trainer Pic Pointers", ROMX[$4000], BANK[TRAINER_PIC_POINTERS]
TrainerPicPointers:: INCLUDE "gfx/pics/trainer_pic_pointers.asm" TrainerPicPointers:: INCLUDE "gfx/pics/trainer_pic_pointers.asm"
SECTION "Pics 1", ROMX, BANK[PICS_1] SECTION "Pics 1", ROMX[$45ee], BANK[PICS_1]
HoOhFrontpic: INCBIN "gfx/pics/ho_oh/front.2bpp.lz" HoOhFrontpic: INCBIN "gfx/pics/ho_oh/front.2bpp.lz"
MachampFrontpic: INCBIN "gfx/pics/machamp/front.2bpp.lz" MachampFrontpic: INCBIN "gfx/pics/machamp/front.2bpp.lz"
@ -33,7 +33,7 @@ TyphlosionFrontpic: INCBIN "gfx/pics/typhlosion/front.2bpp.lz"
; 123ffa ; 123ffa
SECTION "Pics 2", ROMX, BANK[PICS_2] SECTION "Pics 2", ROMX[$409c], BANK[PICS_2]
BlastoiseFrontpic: INCBIN "gfx/pics/blastoise/front.2bpp.lz" BlastoiseFrontpic: INCBIN "gfx/pics/blastoise/front.2bpp.lz"
RapidashFrontpic: INCBIN "gfx/pics/rapidash/front.2bpp.lz" RapidashFrontpic: INCBIN "gfx/pics/rapidash/front.2bpp.lz"
@ -54,7 +54,7 @@ QuilavaFrontpic: INCBIN "gfx/pics/quilava/front.2bpp.lz"
; 127ffe ; 127ffe
SECTION "Pics 3", ROMX, BANK[PICS_3] SECTION "Pics 3", ROMX[$40c9], BANK[PICS_3]
SteelixFrontpic: INCBIN "gfx/pics/steelix/front.2bpp.lz" SteelixFrontpic: INCBIN "gfx/pics/steelix/front.2bpp.lz"
AlakazamFrontpic: INCBIN "gfx/pics/alakazam/front.2bpp.lz" AlakazamFrontpic: INCBIN "gfx/pics/alakazam/front.2bpp.lz"
@ -77,7 +77,7 @@ OmastarBackpic: INCBIN "gfx/pics/omastar/back.2bpp.lz"
; 12bffe ; 12bffe
SECTION "Pics 4", ROMX, BANK[PICS_4] SECTION "Pics 4", ROMX[$4000], BANK[PICS_4]
DodrioFrontpic: INCBIN "gfx/pics/dodrio/front.2bpp.lz" DodrioFrontpic: INCBIN "gfx/pics/dodrio/front.2bpp.lz"
SlowkingFrontpic: INCBIN "gfx/pics/slowking/front.2bpp.lz" SlowkingFrontpic: INCBIN "gfx/pics/slowking/front.2bpp.lz"
@ -102,7 +102,7 @@ UnownEFrontpic: INCBIN "gfx/pics/unown_e/front.2bpp.lz"
; 130000 ; 130000
SECTION "Pics 5", ROMX, BANK[PICS_5] SECTION "Pics 5", ROMX[$4000], BANK[PICS_5]
GolbatFrontpic: INCBIN "gfx/pics/golbat/front.2bpp.lz" GolbatFrontpic: INCBIN "gfx/pics/golbat/front.2bpp.lz"
KinglerFrontpic: INCBIN "gfx/pics/kingler/front.2bpp.lz" KinglerFrontpic: INCBIN "gfx/pics/kingler/front.2bpp.lz"
@ -128,7 +128,7 @@ HeracrossFrontpic: INCBIN "gfx/pics/heracross/front.2bpp.lz"
; 133fff ; 133fff
SECTION "Pics 6", ROMX, BANK[PICS_6] SECTION "Pics 6", ROMX[$4000], BANK[PICS_6]
AriadosFrontpic: INCBIN "gfx/pics/ariados/front.2bpp.lz" AriadosFrontpic: INCBIN "gfx/pics/ariados/front.2bpp.lz"
NoctowlFrontpic: INCBIN "gfx/pics/noctowl/front.2bpp.lz" NoctowlFrontpic: INCBIN "gfx/pics/noctowl/front.2bpp.lz"
@ -156,7 +156,7 @@ DunsparceFrontpic: INCBIN "gfx/pics/dunsparce/front.2bpp.lz"
; 137fff ; 137fff
SECTION "Pics 7", ROMX, BANK[PICS_7] SECTION "Pics 7", ROMX[$4000], BANK[PICS_7]
VaporeonFrontpic: INCBIN "gfx/pics/vaporeon/front.2bpp.lz" VaporeonFrontpic: INCBIN "gfx/pics/vaporeon/front.2bpp.lz"
GirafarigFrontpic: INCBIN "gfx/pics/girafarig/front.2bpp.lz" GirafarigFrontpic: INCBIN "gfx/pics/girafarig/front.2bpp.lz"
@ -186,7 +186,7 @@ KangaskhanBackpic: INCBIN "gfx/pics/kangaskhan/back.2bpp.lz"
; 13c000 ; 13c000
SECTION "Pics 8", ROMX, BANK[PICS_8] SECTION "Pics 8", ROMX[$4000], BANK[PICS_8]
SeelFrontpic: INCBIN "gfx/pics/seel/front.2bpp.lz" SeelFrontpic: INCBIN "gfx/pics/seel/front.2bpp.lz"
CrobatFrontpic: INCBIN "gfx/pics/crobat/front.2bpp.lz" CrobatFrontpic: INCBIN "gfx/pics/crobat/front.2bpp.lz"
@ -218,7 +218,7 @@ QuagsireFrontpic: INCBIN "gfx/pics/quagsire/front.2bpp.lz"
; 13fff7 ; 13fff7
SECTION "Pics 9", ROMX, BANK[PICS_9] SECTION "Pics 9", ROMX[$4000], BANK[PICS_9]
EkansFrontpic: INCBIN "gfx/pics/ekans/front.2bpp.lz" EkansFrontpic: INCBIN "gfx/pics/ekans/front.2bpp.lz"
SudowoodoFrontpic: INCBIN "gfx/pics/sudowoodo/front.2bpp.lz" SudowoodoFrontpic: INCBIN "gfx/pics/sudowoodo/front.2bpp.lz"
@ -254,7 +254,7 @@ ParasectBackpic: INCBIN "gfx/pics/parasect/back.2bpp.lz"
; 144000 ; 144000
SECTION "Pics 10", ROMX, BANK[PICS_10] SECTION "Pics 10", ROMX[$4000], BANK[PICS_10]
MisdreavusFrontpic: INCBIN "gfx/pics/misdreavus/front.2bpp.lz" MisdreavusFrontpic: INCBIN "gfx/pics/misdreavus/front.2bpp.lz"
HoundourFrontpic: INCBIN "gfx/pics/houndour/front.2bpp.lz" HoundourFrontpic: INCBIN "gfx/pics/houndour/front.2bpp.lz"
@ -294,7 +294,7 @@ UnownFBackpic: INCBIN "gfx/pics/unown_f/back.2bpp.lz"
; 148000 ; 148000
SECTION "Pics 11", ROMX, BANK[PICS_11] SECTION "Pics 11", ROMX[$4000], BANK[PICS_11]
DodrioBackpic: INCBIN "gfx/pics/dodrio/back.2bpp.lz" DodrioBackpic: INCBIN "gfx/pics/dodrio/back.2bpp.lz"
ClefairyFrontpic: INCBIN "gfx/pics/clefairy/front.2bpp.lz" ClefairyFrontpic: INCBIN "gfx/pics/clefairy/front.2bpp.lz"
@ -337,7 +337,7 @@ SnorlaxBackpic: INCBIN "gfx/pics/snorlax/back.2bpp.lz"
; 14bffb ; 14bffb
SECTION "Pics 12", ROMX, BANK[PICS_12] SECTION "Pics 12", ROMX[$4000], BANK[PICS_12]
VenusaurBackpic: INCBIN "gfx/pics/venusaur/back.2bpp.lz" VenusaurBackpic: INCBIN "gfx/pics/venusaur/back.2bpp.lz"
MoltresBackpic: INCBIN "gfx/pics/moltres/back.2bpp.lz" MoltresBackpic: INCBIN "gfx/pics/moltres/back.2bpp.lz"
@ -383,7 +383,7 @@ StarmieBackpic: INCBIN "gfx/pics/starmie/back.2bpp.lz"
; 150000 ; 150000
SECTION "Pics 13", ROMX, BANK[PICS_13] SECTION "Pics 13", ROMX[$4000], BANK[PICS_13]
OmanyteBackpic: INCBIN "gfx/pics/omanyte/back.2bpp.lz" OmanyteBackpic: INCBIN "gfx/pics/omanyte/back.2bpp.lz"
PidgeyBackpic: INCBIN "gfx/pics/pidgey/back.2bpp.lz" PidgeyBackpic: INCBIN "gfx/pics/pidgey/back.2bpp.lz"
@ -431,7 +431,7 @@ ElectrodeFrontpic: INCBIN "gfx/pics/electrode/front.2bpp.lz"
; 153fe3 ; 153fe3
SECTION "Pics 14", ROMX, BANK[PICS_14] SECTION "Pics 14", ROMX[$4000], BANK[PICS_14]
SudowoodoBackpic: INCBIN "gfx/pics/sudowoodo/back.2bpp.lz" SudowoodoBackpic: INCBIN "gfx/pics/sudowoodo/back.2bpp.lz"
FlaaffyBackpic: INCBIN "gfx/pics/flaaffy/back.2bpp.lz" FlaaffyBackpic: INCBIN "gfx/pics/flaaffy/back.2bpp.lz"
@ -482,7 +482,7 @@ SwinubBackpic: INCBIN "gfx/pics/swinub/back.2bpp.lz"
; 158000 ; 158000
SECTION "Pics 15", ROMX, BANK[PICS_15] SECTION "Pics 15", ROMX[$4000], BANK[PICS_15]
MewtwoBackpic: INCBIN "gfx/pics/mewtwo/back.2bpp.lz" MewtwoBackpic: INCBIN "gfx/pics/mewtwo/back.2bpp.lz"
PokemonProfPic: INCBIN "gfx/trainers/oak.2bpp.lz" PokemonProfPic: INCBIN "gfx/trainers/oak.2bpp.lz"
@ -536,7 +536,7 @@ MagnemiteBackpic: INCBIN "gfx/pics/magnemite/back.2bpp.lz"
; 15bffa ; 15bffa
SECTION "Pics 16", ROMX, BANK[PICS_16] SECTION "Pics 16", ROMX[$4000], BANK[PICS_16]
HoothootBackpic: INCBIN "gfx/pics/hoothoot/back.2bpp.lz" HoothootBackpic: INCBIN "gfx/pics/hoothoot/back.2bpp.lz"
NoctowlBackpic: INCBIN "gfx/pics/noctowl/back.2bpp.lz" NoctowlBackpic: INCBIN "gfx/pics/noctowl/back.2bpp.lz"
@ -594,7 +594,7 @@ UnownHBackpic: INCBIN "gfx/pics/unown_h/back.2bpp.lz"
; 15ffff ; 15ffff
SECTION "Pics 17", ROMX, BANK[PICS_17] SECTION "Pics 17", ROMX[$4000], BANK[PICS_17]
ParasBackpic: INCBIN "gfx/pics/paras/back.2bpp.lz" ParasBackpic: INCBIN "gfx/pics/paras/back.2bpp.lz"
VaporeonBackpic: INCBIN "gfx/pics/vaporeon/back.2bpp.lz" VaporeonBackpic: INCBIN "gfx/pics/vaporeon/back.2bpp.lz"
@ -660,7 +660,7 @@ UnownDBackpic: INCBIN "gfx/pics/unown_d/back.2bpp.lz"
; 163ffc ; 163ffc
SECTION "Pics 18", ROMX, BANK[PICS_18] SECTION "Pics 18", ROMX[$4000], BANK[PICS_18]
SpinarakBackpic: INCBIN "gfx/pics/spinarak/back.2bpp.lz" SpinarakBackpic: INCBIN "gfx/pics/spinarak/back.2bpp.lz"
RaikouBackpic: INCBIN "gfx/pics/raikou/back.2bpp.lz" RaikouBackpic: INCBIN "gfx/pics/raikou/back.2bpp.lz"
@ -725,7 +725,7 @@ UnownRBackpic: INCBIN "gfx/pics/unown_r/back.2bpp.lz"
; 1669d3 ; 1669d3
SECTION "Pics 19", ROMX, BANK[PICS_19] SECTION "Pics 19", ROMX[$4000], BANK[PICS_19]
; Seems to be an accidental copy of the previous bank ; Seems to be an accidental copy of the previous bank

View File

@ -4,7 +4,7 @@ charmap "<CR>", $d
INCLUDE "gbhw.asm" INCLUDE "gbhw.asm"
SECTION "Main", ROMX SECTION "Main", ROMX[$4000], BANK[$44]
Function110000: ; 110000 (44:4000) Function110000: ; 110000 (44:4000)
; Copy b bytes from hl to de ; Copy b bytes from hl to de

134
main.asm
View File

@ -1,6 +1,6 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "bank1", ROMX, BANK[$1] SECTION "bank1", ROMX[$4000], BANK[$1]
PlaceWaitingText:: ; 4000 PlaceWaitingText:: ; 4000
hlcoord 3, 10 hlcoord 3, 10
@ -246,14 +246,14 @@ Predef1: ; 747a
; not used ; not used
ret ret
SECTION "bank2", ROMX, BANK[$2] SECTION "bank2", ROMX[$4000], BANK[$2]
INCLUDE "engine/player_object.asm" INCLUDE "engine/player_object.asm"
INCLUDE "engine/sine.asm" INCLUDE "engine/sine.asm"
INCLUDE "engine/predef.asm" INCLUDE "engine/predef.asm"
INCLUDE "engine/color.asm" INCLUDE "engine/color.asm"
SECTION "bank3", ROMX, BANK[$3] SECTION "bank3", ROMX[$4000], BANK[$3]
CheckTime:: ; c000 CheckTime:: ; c000
ld a, [TimeOfDay] ld a, [TimeOfDay]
@ -380,7 +380,7 @@ KnowsMove: ; f9ea
text_jump UnknownText_0x1c5ea8 text_jump UnknownText_0x1c5ea8
db "@" db "@"
SECTION "bank4", ROMX, BANK[$4] SECTION "bank4", ROMX[$4000], BANK[$4]
INCLUDE "engine/pack.asm" INCLUDE "engine/pack.asm"
INCLUDE "engine/time.asm" INCLUDE "engine/time.asm"
@ -603,7 +603,7 @@ root set 1
root set root+1 root set root+1
endr endr
SECTION "bank5", ROMX, BANK[$5] SECTION "bank5", ROMX[$4000], BANK[$5]
INCLUDE "engine/rtc.asm" INCLUDE "engine/rtc.asm"
INCLUDE "engine/overworld.asm" INCLUDE "engine/overworld.asm"
@ -620,27 +620,27 @@ INCLUDE "event/daycare.asm"
INCLUDE "event/photo.asm" INCLUDE "event/photo.asm"
INCLUDE "engine/breeding/egg.asm" INCLUDE "engine/breeding/egg.asm"
SECTION "Tileset Data 1", ROMX, BANK[TILESETS_1] SECTION "Tileset Data 1", ROMX[$4000], BANK[TILESETS_1]
INCLUDE "tilesets/data_1.asm" INCLUDE "tilesets/data_1.asm"
SECTION "Roofs", ROMX, BANK[ROOFS] SECTION "Roofs", ROMX[$4000], BANK[ROOFS]
INCLUDE "tilesets/roofs.asm" INCLUDE "tilesets/roofs.asm"
SECTION "Tileset Data 2", ROMX, BANK[TILESETS_2] SECTION "Tileset Data 2", ROMX[$430c], BANK[TILESETS_2]
INCLUDE "tilesets/data_2.asm" INCLUDE "tilesets/data_2.asm"
SECTION "bank8", ROMX, BANK[$8] SECTION "bank8", ROMX[$4000], BANK[$8]
INCLUDE "engine/clock_reset.asm" INCLUDE "engine/clock_reset.asm"
SECTION "Tileset Data 3", ROMX, BANK[TILESETS_3] SECTION "Tileset Data 3", ROMX[$4181], BANK[TILESETS_3]
INCLUDE "tilesets/data_3.asm" INCLUDE "tilesets/data_3.asm"
SECTION "bank9", ROMX, BANK[$9] SECTION "bank9", ROMX[$4000], BANK[$9]
StringBufferPointers:: ; 24000 StringBufferPointers:: ; 24000
dw StringBuffer3 dw StringBuffer3
@ -1159,7 +1159,7 @@ Kurt_SelectQuantity_InterpretJoypad: ; 27a28
ld b, a ld b, a
ret ret
SECTION "bankA", ROMX, BANK[$A] SECTION "bankA", ROMX[$4000], BANK[$A]
INCLUDE "engine/link.asm" INCLUDE "engine/link.asm"
@ -1183,7 +1183,7 @@ INCBIN "gfx/misc/player.6x6.2bpp.lz"
DudeBackpic: ; 2bbaa DudeBackpic: ; 2bbaa
INCBIN "gfx/misc/dude.6x6.2bpp.lz" INCBIN "gfx/misc/dude.6x6.2bpp.lz"
SECTION "bankB", ROMX, BANK[$B] SECTION "bankB", ROMX[$4000], BANK[$B]
INCLUDE "battle/trainer_huds.asm" INCLUDE "battle/trainer_huds.asm"
@ -1618,15 +1618,15 @@ PlaceGraphic: ; 2ef6e
jr nz, .x2 jr nz, .x2
ret ret
SECTION "Tileset Data 4", ROMX, BANK[TILESETS_4] SECTION "Tileset Data 4", ROMX[$4000], BANK[TILESETS_4]
INCLUDE "tilesets/data_4.asm" INCLUDE "tilesets/data_4.asm"
SECTION "Effect Commands", ROMX, BANK[$D] SECTION "Effect Commands", ROMX[$4000], BANK[$D]
INCLUDE "battle/effect_commands.asm" INCLUDE "battle/effect_commands.asm"
SECTION "Enemy Trainers", ROMX, BANK[$E] SECTION "Enemy Trainers", ROMX[$4000], BANK[$E]
INCLUDE "battle/ai/items.asm" INCLUDE "battle/ai/items.asm"
@ -1706,13 +1706,13 @@ INCLUDE "trainers/trainer_pointers.asm"
INCLUDE "trainers/trainers.asm" INCLUDE "trainers/trainers.asm"
SECTION "Battle Core", ROMX, BANK[$F] SECTION "Battle Core", ROMX[$4000], BANK[$F]
INCLUDE "battle/core.asm" INCLUDE "battle/core.asm"
INCLUDE "battle/effect_command_pointers.asm" INCLUDE "battle/effect_command_pointers.asm"
SECTION "bank10", ROMX, BANK[$10] SECTION "bank10", ROMX[$4000], BANK[$10]
INCLUDE "engine/pokedex.asm" INCLUDE "engine/pokedex.asm"
@ -1720,7 +1720,7 @@ INCLUDE "battle/moves/moves.asm"
INCLUDE "engine/evolve.asm" INCLUDE "engine/evolve.asm"
SECTION "bank11", ROMX, BANK[$11] SECTION "bank11", ROMX[$4000], BANK[$11]
INCLUDE "engine/fruit_trees.asm" INCLUDE "engine/fruit_trees.asm"
@ -1946,7 +1946,7 @@ INCLUDE "data/pokedex/entry_pointers.asm"
INCLUDE "engine/mail.asm" INCLUDE "engine/mail.asm"
SECTION "Crystal Unique", ROMX, BANK[$12] SECTION "Crystal Unique", ROMX[$4000], BANK[$12]
INCLUDE "engine/init_gender.asm" INCLUDE "engine/init_gender.asm"
@ -2153,7 +2153,7 @@ Buena_ExitMenu: ; 4ae5e
ld [hOAMUpdate], a ld [hOAMUpdate], a
ret ret
SECTION "bank13", ROMX, BANK[$13] SECTION "bank13", ROMX[$4000], BANK[$13]
SwapTextboxPalettes:: ; 4c000 SwapTextboxPalettes:: ; 4c000
hlcoord 0, 0 hlcoord 0, 0
@ -3538,7 +3538,7 @@ INCLUDE "misc/gbc_only.asm"
INCLUDE "event/poke_seer.asm" INCLUDE "event/poke_seer.asm"
SECTION "bank14", ROMX, BANK[$14] SECTION "bank14", ROMX[$4000], BANK[$14]
INCLUDE "engine/party_menu.asm" INCLUDE "engine/party_menu.asm"
INCLUDE "event/poisonstep.asm" INCLUDE "event/poisonstep.asm"
@ -4666,11 +4666,11 @@ UnknownEggPic:: ; 53d9c
; Another egg pic. This is shifted up a few pixels. ; Another egg pic. This is shifted up a few pixels.
INCBIN "gfx/misc/unknown_egg.5x5.2bpp.lz" INCBIN "gfx/misc/unknown_egg.5x5.2bpp.lz"
SECTION "bank19", ROMX, BANK[$19] SECTION "bank19", ROMX[$4000], BANK[$19]
INCLUDE "text/phone/extra.asm" INCLUDE "text/phone/extra.asm"
SECTION "bank20", ROMX, BANK[$20] SECTION "bank20", ROMX[$4000], BANK[$20]
INCLUDE "engine/player_movement.asm" INCLUDE "engine/player_movement.asm"
@ -4683,7 +4683,7 @@ INCLUDE "text/battle.asm"
INCLUDE "engine/debug.asm" INCLUDE "engine/debug.asm"
SECTION "bank21", ROMX, BANK[$21] SECTION "bank21", ROMX[$4000], BANK[$21]
INCLUDE "engine/printer.asm" INCLUDE "engine/printer.asm"
@ -4691,7 +4691,7 @@ INCLUDE "battle/anim_gfx.asm"
INCLUDE "event/halloffame.asm" INCLUDE "event/halloffame.asm"
SECTION "bank22", ROMX, BANK[$22] SECTION "bank22", ROMX[$4000], BANK[$22]
INCLUDE "event/kurt.asm" INCLUDE "event/kurt.asm"
@ -4969,7 +4969,7 @@ INCLUDE "event/dratini.asm"
INCLUDE "event/battle_tower.asm" INCLUDE "event/battle_tower.asm"
INCLUDE "misc/mobile_22_2.asm" INCLUDE "misc/mobile_22_2.asm"
SECTION "bank23", ROMX, BANK[$23] SECTION "bank23", ROMX[$4000], BANK[$23]
Predef35: ; 8c000 Predef35: ; 8c000
Predef36: Predef36:
@ -4998,7 +4998,7 @@ INCLUDE "engine/sprites.asm"
INCLUDE "engine/mon_icons.asm" INCLUDE "engine/mon_icons.asm"
SECTION "bank24", ROMX, BANK[$24] SECTION "bank24", ROMX[$4000], BANK[$24]
INCLUDE "engine/phone.asm" INCLUDE "engine/phone.asm"
INCLUDE "engine/timeset.asm" INCLUDE "engine/timeset.asm"
@ -5007,12 +5007,12 @@ INCLUDE "engine/pokegear.asm"
INCLUDE "engine/fish.asm" INCLUDE "engine/fish.asm"
INCLUDE "engine/slot_machine.asm" INCLUDE "engine/slot_machine.asm"
SECTION "Phone Engine", ROMX, BANK[$28] SECTION "Phone Engine", ROMX[$4000], BANK[$28]
INCLUDE "engine/more_phone_scripts.asm" INCLUDE "engine/more_phone_scripts.asm"
INCLUDE "engine/buena_phone_scripts.asm" INCLUDE "engine/buena_phone_scripts.asm"
SECTION "Phone Text", ROMX, BANK[$29] SECTION "Phone Text", ROMX[$4000], BANK[$29]
INCLUDE "text/phone/anthony_overworld.asm" INCLUDE "text/phone/anthony_overworld.asm"
INCLUDE "text/phone/todd_overworld.asm" INCLUDE "text/phone/todd_overworld.asm"
@ -5032,11 +5032,11 @@ INCLUDE "text/phone/kenji_overworld.asm"
INCLUDE "text/phone/parry_overworld.asm" INCLUDE "text/phone/parry_overworld.asm"
INCLUDE "text/phone/erin_overworld.asm" INCLUDE "text/phone/erin_overworld.asm"
SECTION "Tileset Data 5", ROMX, BANK[TILESETS_5] SECTION "Tileset Data 5", ROMX[$4000], BANK[TILESETS_5]
INCLUDE "tilesets/data_5.asm" INCLUDE "tilesets/data_5.asm"
SECTION "bank2E", ROMX, BANK[$2E] SECTION "bank2E", ROMX[$4000], BANK[$2E]
INCLUDE "engine/events_3.asm" INCLUDE "engine/events_3.asm"
@ -5044,7 +5044,7 @@ INCLUDE "engine/radio.asm"
INCLUDE "gfx/mail.asm" INCLUDE "gfx/mail.asm"
SECTION "bank2F", ROMX, BANK[$2F] SECTION "bank2F", ROMX[$4000], BANK[$2F]
INCLUDE "engine/std_scripts.asm" INCLUDE "engine/std_scripts.asm"
@ -5082,15 +5082,15 @@ StartBattleWithMapTrainerScript: ; 0xbe68a
AlreadyBeatenTrainerScript: AlreadyBeatenTrainerScript:
scripttalkafter scripttalkafter
SECTION "bank30", ROMX, BANK[$30] SECTION "bank30", ROMX[$4000], BANK[$30]
INCLUDE "gfx/overworld/sprites_1.asm" INCLUDE "gfx/overworld/sprites_1.asm"
SECTION "bank31", ROMX, BANK[$31] SECTION "bank31", ROMX[$4000], BANK[$31]
INCLUDE "gfx/overworld/sprites_2.asm" INCLUDE "gfx/overworld/sprites_2.asm"
SECTION "bank32", ROMX, BANK[$32] SECTION "bank32", ROMX[$4000], BANK[$32]
INCLUDE "battle/bg_effects.asm" INCLUDE "battle/bg_effects.asm"
@ -5148,7 +5148,7 @@ LoadPoisonBGPals: ; cbcdd
TheEndGFX:: ; cbd2e TheEndGFX:: ; cbd2e
INCBIN "gfx/credits/theend.2bpp" INCBIN "gfx/credits/theend.2bpp"
SECTION "bank33", ROMX, BANK[$33] SECTION "bank33", ROMX[$4000], BANK[$33]
DisplayCaughtContestMonStats: ; cc000 DisplayCaughtContestMonStats: ; cc000
@ -5263,7 +5263,7 @@ INCLUDE "battle/anim_commands.asm"
INCLUDE "battle/anim_objects.asm" INCLUDE "battle/anim_objects.asm"
SECTION "Pic Animations 1", ROMX, BANK[$34] SECTION "Pic Animations 1", ROMX[$4000], BANK[$34]
INCLUDE "gfx/pics/animation.asm" INCLUDE "gfx/pics/animation.asm"
@ -5303,26 +5303,26 @@ INCLUDE "gfx/pics/bitmasks.asm"
INCLUDE "gfx/pics/unown_bitmask_pointers.asm" INCLUDE "gfx/pics/unown_bitmask_pointers.asm"
INCLUDE "gfx/pics/unown_bitmasks.asm" INCLUDE "gfx/pics/unown_bitmasks.asm"
SECTION "Pic Animations 2", ROMX, BANK[$35] SECTION "Pic Animations 2", ROMX[$4000], BANK[$35]
INCLUDE "gfx/pics/frame_pointers.asm" INCLUDE "gfx/pics/frame_pointers.asm"
INCLUDE "gfx/pics/kanto_frames.asm" INCLUDE "gfx/pics/kanto_frames.asm"
SECTION "bank36", ROMX, BANK[$36] SECTION "bank36", ROMX[$4000], BANK[$36]
FontInversed: INCBIN "gfx/misc/font_inversed.1bpp" FontInversed: INCBIN "gfx/misc/font_inversed.1bpp"
SECTION "Pic Animations 3", ROMX, BANK[$36] SECTION "Pic Animations 3", ROMX[$4400], BANK[$36]
INCLUDE "gfx/pics/johto_frames.asm" INCLUDE "gfx/pics/johto_frames.asm"
INCLUDE "gfx/pics/unown_frame_pointers.asm" INCLUDE "gfx/pics/unown_frame_pointers.asm"
INCLUDE "gfx/pics/unown_frames.asm" INCLUDE "gfx/pics/unown_frames.asm"
SECTION "Tileset Data 6", ROMX, BANK[TILESETS_6] SECTION "Tileset Data 6", ROMX[$4000], BANK[TILESETS_6]
INCLUDE "tilesets/data_6.asm" INCLUDE "tilesets/data_6.asm"
SECTION "bank38", ROMX, BANK[$38] SECTION "bank38", ROMX[$4000], BANK[$38]
RotateUnownFrontpic: ; e0000 RotateUnownFrontpic: ; e0000
; something to do with Unown printer ; something to do with Unown printer
@ -5449,7 +5449,7 @@ INCLUDE "engine/unown_puzzle.asm"
INCLUDE "engine/dummy_game.asm" INCLUDE "engine/dummy_game.asm"
INCLUDE "engine/billspc.asm" INCLUDE "engine/billspc.asm"
SECTION "bank39", ROMX, BANK[$39] SECTION "bank39", ROMX[$4000], BANK[$39]
CopyrightGFX:: ; e4000 CopyrightGFX:: ; e4000
INCBIN "gfx/misc/copyright.2bpp" INCBIN "gfx/misc/copyright.2bpp"
@ -5457,7 +5457,7 @@ INCBIN "gfx/misc/copyright.2bpp"
INCLUDE "engine/options_menu.asm" INCLUDE "engine/options_menu.asm"
INCLUDE "engine/crystal_intro.asm" INCLUDE "engine/crystal_intro.asm"
SECTION "bank3E", ROMX, BANK[$3E] SECTION "bank3E", ROMX[$4000], BANK[$3E]
INCLUDE "gfx/font.asm" INCLUDE "gfx/font.asm"
INCLUDE "engine/time_capsule/conversion.asm" INCLUDE "engine/time_capsule/conversion.asm"
@ -5468,7 +5468,7 @@ INCLUDE "battle/hidden_power.asm"
INCLUDE "battle/misc.asm" INCLUDE "battle/misc.asm"
SECTION "bank3F", ROMX, BANK[$3F] SECTION "bank3F", ROMX[$4000], BANK[$3F]
INCLUDE "tilesets/animations.asm" INCLUDE "tilesets/animations.asm"
@ -5476,11 +5476,11 @@ INCLUDE "engine/npctrade.asm"
INCLUDE "event/mom_phone.asm" INCLUDE "event/mom_phone.asm"
SECTION "bank40", ROMX, BANK[$40] SECTION "bank40", ROMX[$4000], BANK[$40]
INCLUDE "misc/mobile_40.asm" INCLUDE "misc/mobile_40.asm"
SECTION "bank41", ROMX, BANK[$41] SECTION "bank41", ROMX[$4000], BANK[$41]
INCLUDE "misc/gfx_41.asm" INCLUDE "misc/gfx_41.asm"
@ -5492,11 +5492,11 @@ INCLUDE "battle/used_move_text.asm"
INCLUDE "misc/mobile_41.asm" INCLUDE "misc/mobile_41.asm"
SECTION "bank42", ROMX, BANK[$42] SECTION "bank42", ROMX[$4000], BANK[$42]
INCLUDE "misc/mobile_42.asm" INCLUDE "misc/mobile_42.asm"
SECTION "Intro Logo", ROMX, BANK[$42] SECTION "Intro Logo", ROMX[$5407], BANK[$42]
IntroLogoGFX: ; 109407 IntroLogoGFX: ; 109407
INCBIN "gfx/intro/logo.2bpp.lz" INCBIN "gfx/intro/logo.2bpp.lz"
@ -5508,24 +5508,24 @@ INCLUDE "engine/title.asm"
INCLUDE "misc/mobile_45.asm" INCLUDE "misc/mobile_45.asm"
INCLUDE "misc/mobile_46.asm" INCLUDE "misc/mobile_46.asm"
SECTION "bank47", ROMX, BANK[$47] SECTION "bank47", ROMX[$4000], BANK[$47]
INCLUDE "misc/battle_tower_47.asm" INCLUDE "misc/battle_tower_47.asm"
SECTION "bank5B", ROMX, BANK[$5B] SECTION "bank5B", ROMX[$4000], BANK[$5B]
INCLUDE "misc/mobile_5b.asm" INCLUDE "misc/mobile_5b.asm"
INCLUDE "engine/link_trade.asm" INCLUDE "engine/link_trade.asm"
SECTION "bank5C", ROMX, BANK[$5C] SECTION "bank5C", ROMX[$4000], BANK[$5C]
INCLUDE "misc/mobile_5c.asm" INCLUDE "misc/mobile_5c.asm"
SECTION "bank5D", ROMX, BANK[$5D] SECTION "bank5D", ROMX[$4000], BANK[$5D]
INCLUDE "text/phone/extra3.asm" INCLUDE "text/phone/extra3.asm"
SECTION "bank5E", ROMX, BANK[$5E] SECTION "bank5E", ROMX[$4000], BANK[$5E]
_UpdateBattleHUDs: _UpdateBattleHUDs:
callba DrawPlayerHUD callba DrawPlayerHUD
@ -5539,7 +5539,7 @@ _UpdateBattleHUDs:
INCLUDE "misc/mobile_5f.asm" INCLUDE "misc/mobile_5f.asm"
SECTION "Common Text 1", ROMX, BANK[$6C] SECTION "Common Text 1", ROMX[$4000], BANK[$6C]
INCLUDE "text/stdtext.asm" INCLUDE "text/stdtext.asm"
INCLUDE "text/phone/jack_overworld.asm" INCLUDE "text/phone/jack_overworld.asm"
@ -5554,14 +5554,14 @@ INCLUDE "text/phone/wade_overworld.asm"
INCLUDE "text/phone/ralph_overworld.asm" INCLUDE "text/phone/ralph_overworld.asm"
INCLUDE "text/phone/liz_overworld.asm" INCLUDE "text/phone/liz_overworld.asm"
SECTION "bank6D", ROMX, BANK[$6D] SECTION "bank6D", ROMX[$4000], BANK[$6D]
INCLUDE "text/phone/mom.asm" INCLUDE "text/phone/mom.asm"
INCLUDE "text/phone/bill.asm" INCLUDE "text/phone/bill.asm"
INCLUDE "text/phone/elm.asm" INCLUDE "text/phone/elm.asm"
INCLUDE "text/phone/trainers1.asm" INCLUDE "text/phone/trainers1.asm"
SECTION "bank72", ROMX, BANK[$72] SECTION "bank72", ROMX[$4000], BANK[$72]
ItemNames:: ItemNames::
INCLUDE "items/item_names.asm" INCLUDE "items/item_names.asm"
@ -5573,7 +5573,7 @@ INCLUDE "battle/move_names.asm"
INCLUDE "engine/landmarks.asm" INCLUDE "engine/landmarks.asm"
SECTION "bank77", ROMX, BANK[$77] SECTION "bank77", ROMX[$4000], BANK[$77]
UnownFont: ; 1dc000 UnownFont: ; 1dc000
INCBIN "gfx/misc/unown_font.2bpp" INCBIN "gfx/misc/unown_font.2bpp"
@ -5586,11 +5586,11 @@ INCBIN "gfx/mobile/hp.1bpp"
MobileLvIcon: ; 1dc599 MobileLvIcon: ; 1dc599
INCBIN "gfx/mobile/lv.1bpp" INCBIN "gfx/mobile/lv.1bpp"
SECTION "Tileset Data 7", ROMX, BANK[TILESETS_7] SECTION "Tileset Data 7", ROMX [$45a1], BANK[TILESETS_7]
INCLUDE "tilesets/data_7.asm" INCLUDE "tilesets/data_7.asm"
SECTION "bank77_2", ROMX, BANK[$77] SECTION "bank77_2", ROMX [$56a9], BANK[$77]
Function1dd6a9: ; 1dd6a9 Function1dd6a9: ; 1dd6a9
; XXX ; XXX
@ -6021,19 +6021,19 @@ LeggiPostaInglese:
jr nz, .loop jr nz, .loop
ret ret
SECTION "Tileset Data 8", ROMX, BANK[TILESETS_8] SECTION "Tileset Data 8", ROMX[$4000], BANK[TILESETS_8]
INCLUDE "tilesets/data_8.asm" INCLUDE "tilesets/data_8.asm"
SECTION "bank7B", ROMX, BANK[$7B] SECTION "bank7B", ROMX[$4000], BANK[$7B]
INCLUDE "text/battle_tower.asm" INCLUDE "text/battle_tower.asm"
SECTION "bank7C", ROMX, BANK[$7C] SECTION "bank7C", ROMX[$4000], BANK[$7C]
INCLUDE "data/battle_tower_2.asm" INCLUDE "data/battle_tower_2.asm"
SECTION "bank7D", ROMX, BANK[$7D] SECTION "bank7D", ROMX[$4000], BANK[$7D]
db $cc, $6b, $1e ; XXX db $cc, $6b, $1e ; XXX
@ -6078,12 +6078,12 @@ Function1f5d9f: ; 1f5d9f
.unknown_data .unknown_data
INCBIN "unknown/1f5db4.bin" INCBIN "unknown/1f5db4.bin"
SECTION "bank7E", ROMX, BANK[$7E] SECTION "bank7E", ROMX[$4000], BANK[$7E]
INCLUDE "data/battle_tower.asm" INCLUDE "data/battle_tower.asm"
INCLUDE "data/odd_eggs.asm" INCLUDE "data/odd_eggs.asm"
SECTION "bank7F", ROMX, BANK[$7F] SECTION "bank7F", ROMX[$4000], BANK[$7F]
SECTION "stadium2", ROMX[$8000-$220], BANK[$7F] SECTION "stadium2", ROMX[$8000-$220], BANK[$7F]

View File

@ -1,30 +1,30 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "Map Headers", ROMX, BANK[MAP_HEADERS] SECTION "Map Headers", ROMX[$4000], BANK[MAP_HEADERS]
INCLUDE "maps/map_headers.asm" INCLUDE "maps/map_headers.asm"
INCLUDE "maps/second_map_headers.asm" INCLUDE "maps/second_map_headers.asm"
SECTION "Map Blockdata 1", ROMX, BANK[MAPS_1] SECTION "Map Blockdata 1", ROMX[$4000], BANK[MAPS_1]
INCLUDE "maps/blockdata_1.asm" INCLUDE "maps/blockdata_1.asm"
SECTION "Map Blockdata 2", ROMX, BANK[MAPS_2] SECTION "Map Blockdata 2", ROMX[$4000], BANK[MAPS_2]
INCLUDE "maps/blockdata_2.asm" INCLUDE "maps/blockdata_2.asm"
SECTION "Map Blockdata 3", ROMX, BANK[MAPS_3] SECTION "Map Blockdata 3", ROMX[$4000], BANK[MAPS_3]
INCLUDE "maps/blockdata_3.asm" INCLUDE "maps/blockdata_3.asm"
SECTION "Map Scripts 1", ROMX, BANK[MAP_SCRIPTS_1] SECTION "Map Scripts 1", ROMX[$4000], BANK[MAP_SCRIPTS_1]
INCLUDE "maps/GoldenrodGym.asm" INCLUDE "maps/GoldenrodGym.asm"
INCLUDE "maps/GoldenrodBikeShop.asm" INCLUDE "maps/GoldenrodBikeShop.asm"
@ -45,7 +45,7 @@ INCLUDE "maps/GoldenrodDeptStoreRoof.asm"
INCLUDE "maps/GoldenrodGameCorner.asm" INCLUDE "maps/GoldenrodGameCorner.asm"
SECTION "Map Scripts 2", ROMX, BANK[MAP_SCRIPTS_2] SECTION "Map Scripts 2", ROMX[$4000], BANK[MAP_SCRIPTS_2]
INCLUDE "maps/RuinsofAlphOutside.asm" INCLUDE "maps/RuinsofAlphOutside.asm"
INCLUDE "maps/RuinsofAlphHoOhChamber.asm" INCLUDE "maps/RuinsofAlphHoOhChamber.asm"
@ -73,7 +73,7 @@ INCLUDE "maps/OlivineLighthouse3F.asm"
INCLUDE "maps/OlivineLighthouse4F.asm" INCLUDE "maps/OlivineLighthouse4F.asm"
SECTION "Map Scripts 3", ROMX, BANK[MAP_SCRIPTS_3] SECTION "Map Scripts 3", ROMX[$4000], BANK[MAP_SCRIPTS_3]
INCLUDE "maps/NationalPark.asm" INCLUDE "maps/NationalPark.asm"
INCLUDE "maps/NationalParkBugContest.asm" INCLUDE "maps/NationalParkBugContest.asm"
@ -83,7 +83,7 @@ INCLUDE "maps/RadioTower3F.asm"
INCLUDE "maps/RadioTower4F.asm" INCLUDE "maps/RadioTower4F.asm"
SECTION "Map Scripts 4", ROMX, BANK[MAP_SCRIPTS_4] SECTION "Map Scripts 4", ROMX[$4000], BANK[MAP_SCRIPTS_4]
INCLUDE "maps/RadioTower5F.asm" INCLUDE "maps/RadioTower5F.asm"
INCLUDE "maps/OlivineLighthouse5F.asm" INCLUDE "maps/OlivineLighthouse5F.asm"
@ -95,7 +95,7 @@ INCLUDE "maps/Route34IlexForestGate.asm"
INCLUDE "maps/DayCare.asm" INCLUDE "maps/DayCare.asm"
SECTION "Map Scripts 5", ROMX, BANK[MAP_SCRIPTS_5] SECTION "Map Scripts 5", ROMX[$4000], BANK[MAP_SCRIPTS_5]
INCLUDE "maps/Route11.asm" INCLUDE "maps/Route11.asm"
INCLUDE "maps/VioletMart.asm" INCLUDE "maps/VioletMart.asm"
@ -112,7 +112,7 @@ INCLUDE "maps/Route36RuinsofAlphgate.asm"
INCLUDE "maps/Route36NationalParkgate.asm" INCLUDE "maps/Route36NationalParkgate.asm"
SECTION "Map Scripts 6", ROMX, BANK[MAP_SCRIPTS_6] SECTION "Map Scripts 6", ROMX[$4000], BANK[MAP_SCRIPTS_6]
INCLUDE "maps/Route8.asm" INCLUDE "maps/Route8.asm"
INCLUDE "maps/MahoganyMart1F.asm" INCLUDE "maps/MahoganyMart1F.asm"
@ -122,7 +122,7 @@ INCLUDE "maps/TeamRocketBaseB3F.asm"
INCLUDE "maps/IlexForest.asm" INCLUDE "maps/IlexForest.asm"
SECTION "Map Scripts 7", ROMX, BANK[MAP_SCRIPTS_7] SECTION "Map Scripts 7", ROMX[$4000], BANK[MAP_SCRIPTS_7]
INCLUDE "maps/LakeofRage.asm" INCLUDE "maps/LakeofRage.asm"
INCLUDE "maps/CeladonDeptStore1F.asm" INCLUDE "maps/CeladonDeptStore1F.asm"
@ -149,7 +149,7 @@ INCLUDE "maps/Route7SaffronGate.asm"
INCLUDE "maps/Route1718Gate.asm" INCLUDE "maps/Route1718Gate.asm"
SECTION "Map Scripts 8", ROMX, BANK[MAP_SCRIPTS_8] SECTION "Map Scripts 8", ROMX[$4000], BANK[MAP_SCRIPTS_8]
INCLUDE "maps/DiglettsCave.asm" INCLUDE "maps/DiglettsCave.asm"
INCLUDE "maps/MountMoon.asm" INCLUDE "maps/MountMoon.asm"
@ -173,7 +173,7 @@ INCLUDE "maps/MountMoonGiftShop.asm"
INCLUDE "maps/TinTowerRoof.asm" INCLUDE "maps/TinTowerRoof.asm"
SECTION "Map Scripts 9", ROMX, BANK[MAP_SCRIPTS_9] SECTION "Map Scripts 9", ROMX[$4000], BANK[MAP_SCRIPTS_9]
INCLUDE "maps/Route34.asm" INCLUDE "maps/Route34.asm"
INCLUDE "maps/ElmsLab.asm" INCLUDE "maps/ElmsLab.asm"
@ -187,7 +187,7 @@ INCLUDE "maps/Route27SandstormHouse.asm"
INCLUDE "maps/Route2946Gate.asm" INCLUDE "maps/Route2946Gate.asm"
SECTION "Map Scripts 10", ROMX, BANK[MAP_SCRIPTS_10] SECTION "Map Scripts 10", ROMX[$4000], BANK[MAP_SCRIPTS_10]
INCLUDE "maps/Route22.asm" INCLUDE "maps/Route22.asm"
INCLUDE "maps/WarehouseEntrance.asm" INCLUDE "maps/WarehouseEntrance.asm"
@ -215,7 +215,7 @@ INCLUDE "maps/Route8SaffronGate.asm"
INCLUDE "maps/Route12SuperRodHouse.asm" INCLUDE "maps/Route12SuperRodHouse.asm"
SECTION "Map Scripts 11", ROMX, BANK[MAP_SCRIPTS_11] SECTION "Map Scripts 11", ROMX[$4000], BANK[MAP_SCRIPTS_11]
INCLUDE "maps/EcruteakHouse.asm" INCLUDE "maps/EcruteakHouse.asm"
INCLUDE "maps/WiseTriosRoom.asm" INCLUDE "maps/WiseTriosRoom.asm"
@ -237,7 +237,7 @@ INCLUDE "maps/Route2Gate.asm"
INCLUDE "maps/VictoryRoadGate.asm" INCLUDE "maps/VictoryRoadGate.asm"
SECTION "Map Scripts 12", ROMX, BANK[MAP_SCRIPTS_12] SECTION "Map Scripts 12", ROMX[$4000], BANK[MAP_SCRIPTS_12]
INCLUDE "maps/OlivinePokeCenter1F.asm" INCLUDE "maps/OlivinePokeCenter1F.asm"
INCLUDE "maps/OlivineGym.asm" INCLUDE "maps/OlivineGym.asm"
@ -265,7 +265,7 @@ INCLUDE "maps/Route40BattleTowerGate.asm"
INCLUDE "maps/BattleTowerOutside.asm" INCLUDE "maps/BattleTowerOutside.asm"
SECTION "Map Scripts 13", ROMX, BANK[MAP_SCRIPTS_13] SECTION "Map Scripts 13", ROMX[$4000], BANK[MAP_SCRIPTS_13]
INCLUDE "maps/IndigoPlateauPokeCenter1F.asm" INCLUDE "maps/IndigoPlateauPokeCenter1F.asm"
INCLUDE "maps/WillsRoom.asm" INCLUDE "maps/WillsRoom.asm"
@ -276,7 +276,7 @@ INCLUDE "maps/LancesRoom.asm"
INCLUDE "maps/HallOfFame.asm" INCLUDE "maps/HallOfFame.asm"
SECTION "Map Scripts 14", ROMX, BANK[MAP_SCRIPTS_14] SECTION "Map Scripts 14", ROMX[$4000], BANK[MAP_SCRIPTS_14]
INCLUDE "maps/CeruleanCity.asm" INCLUDE "maps/CeruleanCity.asm"
INCLUDE "maps/SproutTower1F.asm" INCLUDE "maps/SproutTower1F.asm"
@ -295,7 +295,7 @@ INCLUDE "maps/BurnedTower1F.asm"
INCLUDE "maps/BurnedTowerB1F.asm" INCLUDE "maps/BurnedTowerB1F.asm"
SECTION "Map Scripts 15", ROMX, BANK[MAP_SCRIPTS_15] SECTION "Map Scripts 15", ROMX[$4000], BANK[MAP_SCRIPTS_15]
INCLUDE "maps/CeruleanGymBadgeSpeechHouse.asm" INCLUDE "maps/CeruleanGymBadgeSpeechHouse.asm"
INCLUDE "maps/CeruleanPoliceStation.asm" INCLUDE "maps/CeruleanPoliceStation.asm"
@ -323,7 +323,7 @@ INCLUDE "maps/Route5SaffronCityGate.asm"
INCLUDE "maps/Route5CleanseTagSpeechHouse.asm" INCLUDE "maps/Route5CleanseTagSpeechHouse.asm"
SECTION "Map Scripts 16", ROMX, BANK[MAP_SCRIPTS_16] SECTION "Map Scripts 16", ROMX[$4000], BANK[MAP_SCRIPTS_16]
INCLUDE "maps/PewterCity.asm" INCLUDE "maps/PewterCity.asm"
INCLUDE "maps/WhirlIslandNW.asm" INCLUDE "maps/WhirlIslandNW.asm"
@ -351,7 +351,7 @@ INCLUDE "maps/KurtsHouse.asm"
INCLUDE "maps/AzaleaGym.asm" INCLUDE "maps/AzaleaGym.asm"
SECTION "Map Scripts 17", ROMX, BANK[MAP_SCRIPTS_17] SECTION "Map Scripts 17", ROMX[$4000], BANK[MAP_SCRIPTS_17]
INCLUDE "maps/MahoganyTown.asm" INCLUDE "maps/MahoganyTown.asm"
INCLUDE "maps/Route32.asm" INCLUDE "maps/Route32.asm"
@ -373,7 +373,7 @@ INCLUDE "maps/MobileTradeRoomMobile.asm"
INCLUDE "maps/MobileBattleRoom.asm" INCLUDE "maps/MobileBattleRoom.asm"
SECTION "Map Scripts 18", ROMX, BANK[MAP_SCRIPTS_18] SECTION "Map Scripts 18", ROMX[$4000], BANK[MAP_SCRIPTS_18]
INCLUDE "maps/Route36.asm" INCLUDE "maps/Route36.asm"
INCLUDE "maps/FuchsiaCity.asm" INCLUDE "maps/FuchsiaCity.asm"
@ -402,7 +402,7 @@ INCLUDE "maps/MrPokemonsHouse.asm"
INCLUDE "maps/Route31VioletGate.asm" INCLUDE "maps/Route31VioletGate.asm"
SECTION "Map Scripts 19", ROMX, BANK[MAP_SCRIPTS_19] SECTION "Map Scripts 19", ROMX[$4000], BANK[MAP_SCRIPTS_19]
INCLUDE "maps/AzaleaTown.asm" INCLUDE "maps/AzaleaTown.asm"
INCLUDE "maps/GoldenrodCity.asm" INCLUDE "maps/GoldenrodCity.asm"
@ -421,7 +421,7 @@ INCLUDE "maps/BluesHouse.asm"
INCLUDE "maps/OaksLab.asm" INCLUDE "maps/OaksLab.asm"
SECTION "Map Scripts 20", ROMX, BANK[MAP_SCRIPTS_20] SECTION "Map Scripts 20", ROMX[$4000], BANK[MAP_SCRIPTS_20]
INCLUDE "maps/CherrygroveCity.asm" INCLUDE "maps/CherrygroveCity.asm"
INCLUDE "maps/Route35.asm" INCLUDE "maps/Route35.asm"
@ -432,7 +432,7 @@ INCLUDE "maps/Route19.asm"
INCLUDE "maps/Route25.asm" INCLUDE "maps/Route25.asm"
SECTION "Map Scripts 21", ROMX, BANK[MAP_SCRIPTS_21] SECTION "Map Scripts 21", ROMX[$4000], BANK[MAP_SCRIPTS_21]
INCLUDE "maps/CianwoodCity.asm" INCLUDE "maps/CianwoodCity.asm"
INCLUDE "maps/Route27.asm" INCLUDE "maps/Route27.asm"
@ -448,7 +448,7 @@ INCLUDE "maps/PewterPokeCEnter2FBeta.asm"
INCLUDE "maps/PewterSnoozeSpeechHouse.asm" INCLUDE "maps/PewterSnoozeSpeechHouse.asm"
SECTION "Map Scripts 22", ROMX, BANK[MAP_SCRIPTS_22] SECTION "Map Scripts 22", ROMX[$4000], BANK[MAP_SCRIPTS_22]
INCLUDE "maps/EcruteakCity.asm" INCLUDE "maps/EcruteakCity.asm"
INCLUDE "maps/BlackthornCity.asm" INCLUDE "maps/BlackthornCity.asm"
@ -461,7 +461,7 @@ INCLUDE "maps/Route41.asm"
INCLUDE "maps/Route12.asm" INCLUDE "maps/Route12.asm"
SECTION "Map Scripts 23", ROMX, BANK[MAP_SCRIPTS_23] SECTION "Map Scripts 23", ROMX[$4000], BANK[MAP_SCRIPTS_23]
INCLUDE "maps/NewBarkTown.asm" INCLUDE "maps/NewBarkTown.asm"
INCLUDE "maps/VioletCity.asm" INCLUDE "maps/VioletCity.asm"
@ -480,7 +480,7 @@ INCLUDE "maps/Route19FuchsiaGate.asm"
INCLUDE "maps/SeafoamGym.asm" INCLUDE "maps/SeafoamGym.asm"
SECTION "Map Scripts 24", ROMX, BANK[MAP_SCRIPTS_24] SECTION "Map Scripts 24", ROMX[$4000], BANK[MAP_SCRIPTS_24]
INCLUDE "maps/Route33.asm" INCLUDE "maps/Route33.asm"
INCLUDE "maps/Route2.asm" INCLUDE "maps/Route2.asm"
@ -506,7 +506,7 @@ INCLUDE "maps/SilverCavePokeCenter1F.asm"
INCLUDE "maps/Route28FamousSpeechHouse.asm" INCLUDE "maps/Route28FamousSpeechHouse.asm"
SECTION "Map Scripts 25", ROMX, BANK[MAP_SCRIPTS_25] SECTION "Map Scripts 25", ROMX[$6042], BANK[MAP_SCRIPTS_25]
INCLUDE "maps/SilverCaveOutside.asm" INCLUDE "maps/SilverCaveOutside.asm"
INCLUDE "maps/Route10North.asm" INCLUDE "maps/Route10North.asm"

View File

@ -1,7 +1,7 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "Misc Crystal", ROMX, BANK[MISC_CRYSTAL] SECTION "Misc Crystal", ROMX [$59ef], BANK[MISC_CRYSTAL]
MobileAdapterGFX:: MobileAdapterGFX::
INCBIN "gfx/misc/mobile_adapter.2bpp" INCBIN "gfx/misc/mobile_adapter.2bpp"

View File

@ -1784,7 +1784,7 @@ Function100ae7: ; 100ae7
; 100b0a ; 100b0a
SECTION "tetsuji", ROMX, BANK[$40] SECTION "tetsuji", ROMX[$4b0a], BANK[$40]
charmap " ", $20 ; revert to ascii charmap " ", $20 ; revert to ascii
@ -1793,7 +1793,7 @@ Unknown_100b0a: ; 100b0a
; 100b12 ; 100b12
SECTION "bank40_2", ROMX, BANK[$40] SECTION "bank40_2", ROMX[$4b12], BANK[$40]
Function100b12: ; 100b12 Function100b12: ; 100b12
call Function100dd8 call Function100dd8
@ -3831,7 +3831,7 @@ Function101826: ; 101826
; 10186f ; 10186f
SECTION "ascii 10186f", ROMX, BANK[$40] SECTION "ascii 10186f", ROMX[$586f], BANK[$40]
charmap " ", $20 ; revert to ascii charmap " ", $20 ; revert to ascii
@ -3852,7 +3852,7 @@ Unknown_101895:
; 1018a8 ; 1018a8
SECTION "bank40_3", ROMX, BANK[$40] SECTION "bank40_3", ROMX[$58a8], BANK[$40]
Function1018a8: ; 1018a8 Function1018a8: ; 1018a8
ld hl, wccb5 ld hl, wccb5

View File

@ -1,4 +1,4 @@
SECTION "bank41_2", ROMX, BANK[$41] SECTION "bank41_2", ROMX[$5ef6], BANK[$41]
; These functions deal with miscellaneous statistics ; These functions deal with miscellaneous statistics
; which were used for Trainer Rankings in Pokémon News. ; which were used for Trainer Rankings in Pokémon News.

View File

@ -1,5 +1,5 @@
SECTION "bank45", ROMX, BANK[$45] SECTION "bank45", ROMX[$4000], BANK[$45]
charmap " ", $20 ; revert to ascii charmap " ", $20 ; revert to ascii
@ -6835,7 +6835,7 @@ Unknown_117356: ; 117356
; 117656 ; 117656
SECTION "Mobile Stadium", ROMX, BANK[$45] SECTION "Mobile Stadium", ROMX[$7656], BANK[$45]
Special_GiveOddEgg: ; 117656 Special_GiveOddEgg: ; 117656
callba GiveOddEgg callba GiveOddEgg

View File

@ -1,4 +1,4 @@
SECTION "bank46", ROMX, BANK[$46] SECTION "bank46", ROMX[$4000], BANK[$46]
Function118000: ; 118000 Function118000: ; 118000
ld a, $1 ld a, $1
@ -3014,7 +3014,7 @@ Unknown_1196b8: ; 1196b8
db "Sun" db "Sun"
; 1196cd ; 1196cd
SECTION "bank46_2", ROMX, BANK[$46] SECTION "bank46_2", ROMX[$56cd], BANK[$46]
; A hack to use ascii above. ; A hack to use ascii above.
Function1196cd: ; 1196cd (46:56cd) Function1196cd: ; 1196cd (46:56cd)

View File

@ -1,5 +1,5 @@
SECTION "bank5F", ROMX, BANK[$5F] SECTION "bank5F", ROMX[$4000], BANK[$5F]
Function17c000: ; 17c000 Function17c000: ; 17c000

View File

@ -1,5 +1,5 @@
SECTION "bank43", ROMX, BANK[$43] SECTION "bank43", ROMX[$4000], BANK[$43]
UnusedTitleScreen: ; 10c000 UnusedTitleScreen: ; 10c000

View File

@ -3,7 +3,7 @@ SRAM_End EQU $c000
GLOBAL SRAM_Begin, SRAM_End GLOBAL SRAM_Begin, SRAM_End
SECTION "Scratch", SRAM, BANK [0] SECTION "Scratch", SRAM [$a000], BANK [0]
sScratch:: sScratch::
@ -98,7 +98,7 @@ s0_bf0f:: ds 1 ; loaded with 0x7f, used to check save corruption
sStackTop:: ds 2 sStackTop:: ds 2
SECTION "Save", SRAM, BANK [1] SECTION "Save", SRAM [$a000], BANK [1]
sOptions:: ds OptionsEnd - Options sOptions:: ds OptionsEnd - Options
@ -117,13 +117,13 @@ sGameDataEnd::
sChecksum:: ds 2 sChecksum:: ds 2
s1_ad0f:: ds 1 ; loaded with 0x7f, used to check save corruption s1_ad0f:: ds 1 ; loaded with 0x7f, used to check save corruption
SECTION "Active Box", SRAM, BANK [1] SECTION "Active Box", SRAM [$ad10], BANK [1]
; ad10 ; ad10
box sBox box sBox
; b160 ; b160
ds $f4 ds $f4
SECTION "Link Battle Data", SRAM, BANK [1] SECTION "Link Battle Data", SRAM [$b254], BANK [1]
sLinkBattleResults:: ds $c sLinkBattleResults:: ds $c
sLinkBattleStats:: ; b260 sLinkBattleStats:: ; b260
@ -145,7 +145,7 @@ sLinkBattleRecord4:: link_battle_record sLinkBattleRecord4
sLinkBattleRecord5:: link_battle_record sLinkBattleRecord5 sLinkBattleRecord5:: link_battle_record sLinkBattleRecord5
sLinkBattleStatsEnd:: sLinkBattleStatsEnd::
SECTION "SRAM Hall of Fame", SRAM, BANK [1] SECTION "SRAM Hall of Fame", SRAM [$b2c0], BANK [1]
sHallOfFame:: ; b2c0 sHallOfFame:: ; b2c0
; temporary until I can find a way to macrofy it ; temporary until I can find a way to macrofy it
hall_of_fame sHallOfFame01 hall_of_fame sHallOfFame01
@ -193,14 +193,14 @@ sHallOfFame:: ; b2c0
; endr ; endr
sHallOfFameEnd:: sHallOfFameEnd::
SECTION "SRAM Crystal Data", SRAM, BANK [1] SECTION "SRAM Crystal Data", SRAM [$be3c], BANK [1]
sMobileEventIndex:: ds 1 ; be3c sMobileEventIndex:: ds 1 ; be3c
sCrystalData:: sCrystalData::
ds wCrystalDataEnd - wCrystalData ds wCrystalDataEnd - wCrystalData
sMobileEventIndexBackup:: ds 1 sMobileEventIndexBackup:: ds 1
SECTION "SRAM Battle Tower", SRAM, BANK [1] SECTION "SRAM Battle Tower", SRAM [$be45], BANK [1]
; data of the BattleTower must be in SRAM because you can save and leave between battles ; data of the BattleTower must be in SRAM because you can save and leave between battles
sBattleTowerChallengeState:: ds 1 sBattleTowerChallengeState:: ds 1
; 0: normal ; 0: normal
@ -226,7 +226,7 @@ sBTPkmnPrevPrevTrainer2:: ds 1
sBTPkmnPrevPrevTrainer3:: ds 1 sBTPkmnPrevPrevTrainer3:: ds 1
SECTION "Boxes 1-7", SRAM, BANK [2] SECTION "Boxes 1-7", SRAM [$a000], BANK [2]
box sBox1 box sBox1
box sBox2 box sBox2
box sBox3 box sBox3
@ -235,7 +235,7 @@ SECTION "Boxes 1-7", SRAM, BANK [2]
box sBox6 box sBox6
box sBox7 box sBox7
SECTION "Boxes 8-14", SRAM, BANK [3] SECTION "Boxes 8-14", SRAM [$a000], BANK [3]
box sBox8 box sBox8
box sBox9 box sBox9
box sBox10 box sBox10

View File

@ -1,12 +1,12 @@
INCLUDE "includes.asm" INCLUDE "includes.asm"
SECTION "Text 1", ROMX, BANK[$6F] SECTION "Text 1", ROMX[$4000], BANK[$6F]
INCLUDE "text/common_1.asm" INCLUDE "text/common_1.asm"
SECTION "Text 2", ROMX, BANK[$70] SECTION "Text 2", ROMX[$4000], BANK[$70]
INCLUDE "text/common_2.asm" INCLUDE "text/common_2.asm"
INCLUDE "text/common_3.asm" INCLUDE "text/common_3.asm"
SECTION "Text 3", ROMX, BANK[$71] SECTION "Text 3", ROMX[$4000], BANK[$71]
INCLUDE "text/common_4.asm" INCLUDE "text/common_4.asm"
INCLUDE "text/common_5.asm" INCLUDE "text/common_5.asm"

View File

@ -1,11 +1,11 @@
SECTION "VRAM0", VRAM, BANK [0] SECTION "VRAM0", VRAM[$8000], BANK [0]
VTiles0:: ds $800 VTiles0:: ds $800
VTiles1:: ds $800 VTiles1:: ds $800
VTiles2:: ds $800 VTiles2:: ds $800
VBGMap0:: ds $400 VBGMap0:: ds $400
VBGMap1:: ds $400 VBGMap1:: ds $400
SECTION "VRAM1", VRAM, BANK [1] SECTION "VRAM1", VRAM[$8000], BANK [1]
VTiles3:: ds $800 VTiles3:: ds $800
VTiles4:: ds $800 VTiles4:: ds $800
VTiles5:: ds $800 VTiles5:: ds $800

View File

@ -2,7 +2,7 @@ INCLUDE "includes.asm"
INCLUDE "macros/wram.asm" INCLUDE "macros/wram.asm"
INCLUDE "vram.asm" INCLUDE "vram.asm"
SECTION "Stack", WRAM0 SECTION "Stack", WRAM0 [$c000]
wc000:: wc000::
StackBottom:: StackBottom::
ds $100 - 1 ds $100 - 1
@ -11,7 +11,7 @@ StackTop::
ds 1 ds 1
SECTION "Audio", WRAM0 SECTION "Audio", WRAM0 [$c100]
wMusic:: wMusic::
MusicPlaying:: ; c100 MusicPlaying:: ; c100
; nonzero if playing ; nonzero if playing
@ -134,7 +134,7 @@ wMapMusic:: ; c2c0
wDontPlayMapMusicOnReload:: ds 1 wDontPlayMapMusicOnReload:: ds 1
wMusicEnd:: wMusicEnd::
SECTION "WRAM", WRAM0 SECTION "WRAM", WRAM0 [$c2c2]
wLZAddress:: dw ; c2c2 wLZAddress:: dw ; c2c2
wLZBank:: db ; c2c4 wLZBank:: db ; c2c4
@ -330,7 +330,7 @@ Sprites:: ; c400
SpritesEnd:: SpritesEnd::
SECTION "Tilemap", WRAM0 SECTION "Tilemap", WRAM0 [$c4a0]
TileMap:: ; c4a0 TileMap:: ; c4a0
; 20x18 grid of 8x8 tiles ; 20x18 grid of 8x8 tiles
@ -338,7 +338,7 @@ TileMap:: ; c4a0
TileMapEnd:: TileMapEnd::
SECTION "Battle", WRAM0 SECTION "Battle", WRAM0 [$c608]
wc608:: wc608::
wOddEgg:: party_struct OddEgg wOddEgg:: party_struct OddEgg
wOddEggName:: ds PKMN_NAME_LENGTH wOddEggName:: ds PKMN_NAME_LENGTH
@ -1111,7 +1111,7 @@ wccb8:: ds 1
wccb9:: ds 1 wccb9:: ds 1
wccba:: ds 102 wccba:: ds 102
SECTION "Video", WRAM0 SECTION "Video", WRAM0 [$cd20]
CreditsPos:: CreditsPos::
BGMapBuffer:: BGMapBuffer::
wMobileMonSpeciesPointerBuffer:: dw wMobileMonSpeciesPointerBuffer:: dw
@ -1514,7 +1514,7 @@ wDaysSince:: ds 1
wRAM0End:: ; cfd8 wRAM0End:: ; cfd8
SECTION "WRAM 1", WRAMX, BANK [1] SECTION "WRAM 1", WRAMX [$d000], BANK [1]
wd000:: ds 1 wd000:: ds 1
DefaultSpawnpoint:: DefaultSpawnpoint::
@ -2193,7 +2193,7 @@ TimeOfDay:: ; d269
ds 1 ds 1
SECTION "Enemy Party", WRAMX, BANK [1] SECTION "Enemy Party", WRAMX [$d26b], BANK [1]
wPokedexShowPointerAddr:: wPokedexShowPointerAddr::
wd26b:: ds 1 wd26b:: ds 1
wd26c:: ds 1 wd26c:: ds 1
@ -2808,7 +2808,7 @@ wScreenSave:: ds 6 * 5
wMapDataEnd:: wMapDataEnd::
SECTION "Party", WRAMX, BANK [1] SECTION "Party", WRAMX [$dcd7], BANK [1]
wPokemonData:: wPokemonData::
@ -2907,7 +2907,7 @@ wMagikarpRecordHoldersName:: ds NAME_LENGTH
wPokemonDataEnd:: wPokemonDataEnd::
wGameDataEnd:: wGameDataEnd::
SECTION "Pic Animations", WRAMX, BANK [2] SECTION "Pic Animations", WRAMX [$d000], BANK [2]
TempTileMap:: TempTileMap::
; 20x18 grid of 8x8 tiles ; 20x18 grid of 8x8 tiles
@ -2946,7 +2946,7 @@ wPokeAnimBitmaskBuffer:: ds 7
wPokeAnimStructEnd:: wPokeAnimStructEnd::
SECTION "Battle Tower", WRAMX, BANK [3] SECTION "Battle Tower", WRAMX [$d000], BANK [3]
w3_d000:: ds 1 ; d000 w3_d000:: ds 1 ; d000
w3_d001:: ds 1 w3_d001:: ds 1
@ -2997,7 +2997,7 @@ w3_dd68:: ds SCREEN_WIDTH * SCREEN_HEIGHT
w3_dfec:: ds $10 w3_dfec:: ds $10
w3_dffc:: ds 4 w3_dffc:: ds 4
SECTION "GBC Video", WRAMX, BANK [5] SECTION "GBC Video", WRAMX [$d000], BANK [5]
; 8 4-color palettes ; 8 4-color palettes
UnknBGPals:: ds 8 palettes ; d000 UnknBGPals:: ds 8 palettes ; d000
@ -3098,7 +3098,7 @@ w5_MobileOpponentBattleStartMessage:: ds $c ; dc26
w5_MobileOpponentBattleWinMessage:: ds $c ; dc32 w5_MobileOpponentBattleWinMessage:: ds $c ; dc32
w5_MobileOpponentBattleLossMessage:: ds $c ; dc3e w5_MobileOpponentBattleLossMessage:: ds $c ; dc3e
SECTION "WRAM 6", WRAMX, BANK [6] SECTION "WRAM 6", WRAMX [$d000], BANK [6]
wDecompressScratch:: wDecompressScratch::
wScratchTileMap:: wScratchTileMap::
@ -3109,6 +3109,6 @@ w6_d800::
INCLUDE "sram.asm" INCLUDE "sram.asm"
SECTION "WRAM 7", WRAMX, BANK [7] SECTION "WRAM 7", WRAMX [$d000], BANK [7]
wWindowStack:: ds $1000 - 1 wWindowStack:: ds $1000 - 1
wWindowStackBottom:: ds 1 wWindowStackBottom:: ds 1