From 4155ce971b75265261b473dff137d37fa11d9409 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Wed, 17 Feb 2021 10:55:58 +0000 Subject: Improve decompression documentation --- src/engine/bank03.asm | 2 +- src/engine/bank1c.asm | 4 +- src/engine/bank20.asm | 2 +- src/engine/home.asm | 119 +++++++++++++++++++++++++++----------------------- src/wram.asm | 50 +++++++++++++++++---- 5 files changed, 110 insertions(+), 67 deletions(-) (limited to 'src') diff --git a/src/engine/bank03.asm b/src/engine/bank03.asm index 1b4207b..42cc0a0 100644 --- a/src/engine/bank03.asm +++ b/src/engine/bank03.asm @@ -496,7 +496,7 @@ Func_c38f: ; c38f (3:438f) jr z, .skip push hl - ld b, HIGH(wc000) + ld b, HIGH(wDecompressionSecondaryBuffer) call InitDataDecompression ld a, [wd23d] ld [wTempPointerBank], a diff --git a/src/engine/bank1c.asm b/src/engine/bank1c.asm index 1408f18..d657ba1 100644 --- a/src/engine/bank1c.asm +++ b/src/engine/bank1c.asm @@ -260,7 +260,7 @@ Func_701e9: ; 701e9 (1c:41e9) push bc ld e, l ld d, h - ld b, HIGH(wc000) + ld b, HIGH(wDecompressionSecondaryBuffer) call InitDataDecompression pop bc pop de @@ -429,7 +429,7 @@ DecompressSGBPalette: ; 70403 (1c:4403) push bc ld e, l ld d, h - ld b, HIGH(wc000) + ld b, HIGH(wDecompressionSecondaryBuffer) call InitDataDecompression pop bc ld de, wDecompressionBuffer diff --git a/src/engine/bank20.asm b/src/engine/bank20.asm index 18f4d59..feae9f4 100644 --- a/src/engine/bank20.asm +++ b/src/engine/bank20.asm @@ -109,7 +109,7 @@ Func_800bd: ; 800bd (20:40bd) ld a, [wTempPointer + 1] adc $00 ld d, a - ld b, HIGH(wc000) + ld b, HIGH(wDecompressionSecondaryBuffer) call InitDataDecompression ld a, [wVRAMPointer] ld e, a diff --git a/src/engine/home.asm b/src/engine/home.asm index f12f24d..b0971cf 100644 --- a/src/engine/home.asm +++ b/src/engine/home.asm @@ -1519,33 +1519,31 @@ UpdateRNGSources: ; 089b (0:089b) pop hl ret -; initilizes variables used to decompress -; data in DecompressData -; de points to the source of compressed data -; b is used as the HIGH byte of the -; WRAM address to write to ($100 bytes of buffer space) +; initilizes variables used to decompress data in DecompressData +; de = source of compressed data +; b = HIGH byte of secondary buffer ($100 bytes of buffer space) ; also clears this $100 byte space InitDataDecompression: ; 08bf (0:08bf) - ld hl, wcad6 + ld hl, wDecompSourcePosPtr ld [hl], e inc hl ld [hl], d - ld hl, wcad8 - ld [hl], $1 + ld hl, wDecompNumCommandBitsLeft + ld [hl], 1 inc hl xor a - ld [hli], a ; wcad9 - ld [hli], a ; wcada - ld [hli], a ; wcadb - ld [hli], a ; wcadc - ld [hl], b ; wcadd + ld [hli], a ; wDecompCommandByte + ld [hli], a ; wDecompRepeatModeToggle + ld [hli], a ; wDecompRepeatLengths + ld [hli], a ; wDecompNumBytesToRepeat + ld [hl], b ; wDecompSecondaryBufferPtrHigh inc hl - ld [hli], a ; wcade - ld [hl], $ef ; wcadf + ld [hli], a ; wDecompRepeatSeqOffset + ld [hl], LOW(wDecompressionSecondaryBufferStart) ; wDecompSecondaryBufferPtrLow ; clear buffer ld h, b - ld l, LOW(wc000) + ld l, LOW(wDecompressionSecondaryBuffer) xor a .loop ld [hl], a @@ -1555,7 +1553,7 @@ InitDataDecompression: ; 08bf (0:08bf) ; decompresses data ; uses values initialized by InitDataDecompression -; wcad6 holds the pointer for compressed source +; wDecompSourcePosPtr holds the pointer for compressed source ; input: ; bc = row width ; de = buffer to place decompressed data @@ -1576,99 +1574,110 @@ DecompressData: ; 08de (0:08de) pop hl ret -; instructions start with a byte stored in wcad9 -; its bits are read from higher to lower bit -; wcad8 stores the current bit being read -; bit set: -; - 1 byte read and copied literally -; bit not set: -; - 2 bytes read WW XY ZZ, byte in pos WW -; copied (X + 1) times, then in pos ZZ -; copied (Y + 1) times +; decompression works as follows: +; first a command byte is read that will dictate how the +; following bytes will be copied +; the position will then move to the next byte (0xXY), and +; the command byte's bits are read from higher to lower bit +; - if command bit is set, then copy 0xXY to buffer; +; - if command bit is not set, then decompression enters "repeat mode," +; which means it stores 0xXY in memory as number of bytes to repeat +; from a given offset. This offset is in the next byte in the data, +; 0xZZ, which tells the offset to start repeating. A toggle is switched +; each time the algorithm hits "repeat mode": +; - if off -> on it reads 0xXY and stores it, +; then repeats (0x0X + 2) bytes from the offset starting at 0xZZ; +; - if on -> off, then the data only provides the offset, +; and the previous byte read for number of bytes to repeat, 0xXY, is reused +; in which case (0x0Y + 2) bytes are repeated starting from the offset. .Decompress: ; 08ef (0:08ef) - ld hl, wcadc + ld hl, wDecompNumBytesToRepeat ld a, [hl] or a - jr z, .read_instruction + jr z, .read_command -; still repeating byte +; still repeating sequence dec [hl] inc hl .repeat_byte - ld b, [hl] ; wcadd + ld b, [hl] ; wDecompSecondaryBufferPtrHigh inc hl - ld c, [hl] ; wcade + ld c, [hl] ; wDecompRepeatSeqOffset inc [hl] inc hl ld a, [bc] - ld c, [hl] ; wcadf + ld c, [hl] ; wDecompSecondaryBufferPtrLow inc [hl] ld [bc], a ret -.read_instruction - ld hl, wcad6 +.read_command + ld hl, wDecompSourcePosPtr ld c, [hl] inc hl ld b, [hl] - inc hl ; wcad8 + inc hl ; wDecompNumCommandBitsLeft dec [hl] - inc hl ; wcad9 - jr nz, .asm_914 - dec hl ; wcad8 + inc hl ; wDecompCommandByte + jr nz, .read_command_bit + dec hl ; wDecompNumCommandBitsLeft ld [hl], $8 ; number of bits - inc hl ; wcad9 + inc hl ; wDecompCommandByte ld a, [bc] inc bc ld [hl], a -.asm_914 +.read_command_bit rl [hl] ld a, [bc] inc bc - jr nc, .asm_92a + jr nc, .repeat_command ; copy 1 byte literally - ld hl, wcad6 + ld hl, wDecompSourcePosPtr ld [hl], c inc hl ld [hl], b - ld hl, wcadd + ld hl, wDecompSecondaryBufferPtrHigh ld b, [hl] inc hl inc hl - ld c, [hl] ; wcadf + ld c, [hl] ; wDecompSecondaryBufferPtrLow inc [hl] ld [bc], a ret -.asm_92a - ld [wcade], a - ld hl, wcada +.repeat_command + ld [wDecompRepeatSeqOffset], a ; save the offset to repeat from + ld hl, wDecompRepeatModeToggle bit 0, [hl] - jr nz, .asm_94a + jr nz, .repeat_mode_toggle_on set 0, [hl] inc hl +; read byte for num of bytes to read +; and use its higher nybble ld a, [bc] inc bc - ld [hli], a ; wcadb + ld [hli], a ; wDecompRepeatLengths swap a -.asm_93c +.get_sequence_len and $f inc a ; number of times to repeat - ld [hli], a ; wcadc + ld [hli], a ; wDecompNumBytesToRepeat push hl - ld hl, wcad6 + ld hl, wDecompSourcePosPtr ld [hl], c inc hl ld [hl], b pop hl jr .repeat_byte -.asm_94a +.repeat_mode_toggle_on +; get the previous byte (num of bytes to repeat) +; and use its lower nybble res 0, [hl] inc hl - ld a, [hli] ; wcadb - jr .asm_93c + ld a, [hli] ; wDecompRepeatLengths + jr .get_sequence_len ; set attributes for [hl] sprites starting from wOAM + [wOAMOffset] / 4 ; return carry if reached end of wOAM before finishing diff --git a/src/wram.asm b/src/wram.asm index 85c839b..e5f8b9c 100644 --- a/src/wram.asm +++ b/src/wram.asm @@ -15,6 +15,22 @@ NEXTU wc000:: ; c000 ds $100 +NEXTU + +; aside from wDecompressionBuffer, which stores the +; de facto final decompressed data after decompression, +; this buffer stores a secondary buffer that is used +; for "lookbacks" when repeating byte sequences. +; actually starts in the middle of the buffer, +; at wDecompressionSecondaryBufferStart, then wraps back up +; to wDecompressionSecondaryBuffer. +; this is used so that $00 can be "looked back", since anything +; before $ef is initialized to 0 when starting decompression. +wDecompressionSecondaryBuffer:: ; c000 + ds $ef +wDecompressionSecondaryBufferStart:: ; ; c0ef + ds $11 + ENDU ds $100 @@ -543,30 +559,48 @@ wDoFrameFunction:: ; cad3 wcad5:: ; cad5 ds $1 -wcad6:: ; cad6 +; pointer to keep track of where +; in the source data we are while +; running the decompression algorithm +wDecompSourcePosPtr:: ; cad6 ds $2 -wcad8:: ; cad8 +; number of bits that are still left +; to read from the current command byte +wDecompNumCommandBitsLeft:: ; cad8 ds $1 -wcad9:: ; cad9 +; command byte from which to read the bits +; to decompress source data +wDecompCommandByte:: ; cad9 ds $1 -wcada:: ; cada +; if bit 7 is changed from off to on, then +; decompression routine will read next two bytes +; for repeating previous sequence (num of bytes, offset) +; if changes from off to on, then the routine +; will only read one byte, and reuse previous num of bytes +wDecompRepeatModeToggle:: ; cada ds $1 -wcadb:: ; cadb +; stores in both nybbles the length of the +; sequences to copy in decompression +; the high nybble is used first, then the low nybble +; for a subsequent sequence repition +wDecompRepeatLengths:: ; cadb ds $1 -wcadc:: ; cadc +wDecompNumBytesToRepeat:: ; cadc ds $1 -wcadd:: ; cadd +wDecompSecondaryBufferPtrHigh:: ; cadd ds $1 -wcade:: ; cade +; offset to repeat byte from decompressed data +wDecompRepeatSeqOffset:: ; cade ds $1 +wDecompSecondaryBufferPtrLow:: ; cadf ds $1 wTempSGBPacket:: ; cae0 -- cgit v1.2.3 From 1c4d420047bddfaeb09e72add72f49987434ef34 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Thu, 18 Feb 2021 08:58:38 +0000 Subject: Extract compressed data --- src/constants/map_constants.asm | 20 ++--- src/data/map_headers.asm | 68 ++++++++-------- src/data/sgb_data/aerodactyl_intro_pals.bin | Bin 0 -> 35 bytes src/data/sgb_data/card_pop_pals.bin | Bin 0 -> 43 bytes src/data/sgb_data/charizard_intro_pals.bin | Bin 0 -> 35 bytes src/data/sgb_data/colosseum_booster_pals.bin | Bin 0 -> 35 bytes src/data/sgb_data/evolution_booster_pals.bin | Bin 0 -> 35 bytes src/data/sgb_data/gameboy_link_pals.bin | Bin 0 -> 46 bytes src/data/sgb_data/gameboy_printer_pals.bin | Bin 0 -> 44 bytes src/data/sgb_data/laboratory_booster_pals.bin | Bin 0 -> 35 bytes src/data/sgb_data/map_pals_1.bin | Bin 0 -> 34 bytes src/data/sgb_data/map_pals_10.bin | Bin 0 -> 34 bytes src/data/sgb_data/map_pals_2.bin | Bin 0 -> 34 bytes src/data/sgb_data/map_pals_3.bin | Bin 0 -> 33 bytes src/data/sgb_data/map_pals_4.bin | Bin 0 -> 33 bytes src/data/sgb_data/map_pals_5.bin | Bin 0 -> 33 bytes src/data/sgb_data/map_pals_6.bin | Bin 0 -> 34 bytes src/data/sgb_data/map_pals_7.bin | Bin 0 -> 34 bytes src/data/sgb_data/map_pals_8.bin | Bin 0 -> 33 bytes src/data/sgb_data/map_pals_9.bin | Bin 0 -> 34 bytes src/data/sgb_data/mystery_booster_pals.bin | Bin 0 -> 35 bytes src/data/sgb_data/scyther_intro_pals.bin | Bin 0 -> 35 bytes src/data/sgb_data/title_screen_pals.bin | Bin 0 -> 46 bytes src/engine/bank1c.asm | 112 ++++++++++++++++++-------- src/engine/home.asm | 2 +- 25 files changed, 123 insertions(+), 79 deletions(-) create mode 100644 src/data/sgb_data/aerodactyl_intro_pals.bin create mode 100644 src/data/sgb_data/card_pop_pals.bin create mode 100644 src/data/sgb_data/charizard_intro_pals.bin create mode 100644 src/data/sgb_data/colosseum_booster_pals.bin create mode 100644 src/data/sgb_data/evolution_booster_pals.bin create mode 100644 src/data/sgb_data/gameboy_link_pals.bin create mode 100644 src/data/sgb_data/gameboy_printer_pals.bin create mode 100644 src/data/sgb_data/laboratory_booster_pals.bin create mode 100644 src/data/sgb_data/map_pals_1.bin create mode 100644 src/data/sgb_data/map_pals_10.bin create mode 100644 src/data/sgb_data/map_pals_2.bin create mode 100644 src/data/sgb_data/map_pals_3.bin create mode 100644 src/data/sgb_data/map_pals_4.bin create mode 100644 src/data/sgb_data/map_pals_5.bin create mode 100644 src/data/sgb_data/map_pals_6.bin create mode 100644 src/data/sgb_data/map_pals_7.bin create mode 100644 src/data/sgb_data/map_pals_8.bin create mode 100644 src/data/sgb_data/map_pals_9.bin create mode 100644 src/data/sgb_data/mystery_booster_pals.bin create mode 100644 src/data/sgb_data/scyther_intro_pals.bin create mode 100644 src/data/sgb_data/title_screen_pals.bin (limited to 'src') diff --git a/src/constants/map_constants.asm b/src/constants/map_constants.asm index 84656c4..be5ee7d 100644 --- a/src/constants/map_constants.asm +++ b/src/constants/map_constants.asm @@ -68,13 +68,13 @@ MAP_SCRIPT_CLOSE_TEXTBOX EQU $0e ; map palettes for use in SGB mode const_def 1 - const MAP_SGB_PALETTE_1 ; $1 - const MAP_SGB_PALETTE_2 ; $2 - const MAP_SGB_PALETTE_3 ; $3 - const MAP_SGB_PALETTE_4 ; $4 - const MAP_SGB_PALETTE_5 ; $5 - const MAP_SGB_PALETTE_6 ; $6 - const MAP_SGB_PALETTE_7 ; $7 - const MAP_SGB_PALETTE_8 ; $8 - const MAP_SGB_PALETTE_9 ; $9 - const MAP_SGB_PALETTE_10 ; $a + const MAP_SGB_PALS_1 ; $1 + const MAP_SGB_PALS_2 ; $2 + const MAP_SGB_PALS_3 ; $3 + const MAP_SGB_PALS_4 ; $4 + const MAP_SGB_PALS_5 ; $5 + const MAP_SGB_PALS_6 ; $6 + const MAP_SGB_PALS_7 ; $7 + const MAP_SGB_PALS_8 ; $8 + const MAP_SGB_PALS_9 ; $9 + const MAP_SGB_PALS_10 ; $a diff --git a/src/data/map_headers.asm b/src/data/map_headers.asm index cf91df2..01b67c8 100644 --- a/src/data/map_headers.asm +++ b/src/data/map_headers.asm @@ -1,37 +1,37 @@ ; TODO: figure out the rest of the data for each map ; related to the table at 20:4e5d MapHeaders: ; 1c374 (7:4374) - db TILEMAP_OVERWORLD_MAP, TILEMAP_OVERWORLD_MAP_CGB, $00, MAP_SGB_PALETTE_1, $01, MUSIC_OVERWORLD ; OVERWORLD_MAP - db TILEMAP_MASON_LABORATORY, TILEMAP_MASON_LABORATORY_CGB, $00, MAP_SGB_PALETTE_2, $02, MUSIC_OVERWORLD ; MASON_LABORATORY - db TILEMAP_DECK_MACHINE_ROOM, TILEMAP_DECK_MACHINE_ROOM_CGB, $00, MAP_SGB_PALETTE_2, $02, MUSIC_OVERWORLD ; DECK_MACHINE_ROOM - db TILEMAP_ISHIHARA, TILEMAP_ISHIHARA_CGB, $00, MAP_SGB_PALETTE_3, $03, MUSIC_OVERWORLD ; ISHIHARAS_HOUSE - db TILEMAP_FIGHTING_CLUB_ENTRANCE, TILEMAP_FIGHTING_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_3, $04, MUSIC_OVERWORLD ; FIGHTING_CLUB_ENTRANCE - db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALETTE_3, $0c, MUSIC_OVERWORLD ; FIGHTING_CLUB_LOBBY - db TILEMAP_FIGHTING_CLUB, TILEMAP_FIGHTING_CLUB_CGB, $00, MAP_SGB_PALETTE_4, $0d, MUSIC_CLUB_3 ; FIGHTING_CLUB - db TILEMAP_ROCK_CLUB_ENTRANCE, TILEMAP_ROCK_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_3, $05, MUSIC_OVERWORLD ; ROCK_CLUB_ENTRANCE - db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALETTE_3, $0c, MUSIC_OVERWORLD ; ROCK_CLUB_LOBBY - db TILEMAP_ROCK_CLUB, TILEMAP_ROCK_CLUB_CGB, $00, MAP_SGB_PALETTE_4, $0e, MUSIC_CLUB_2 ; ROCK_CLUB - db TILEMAP_WATER_CLUB_ENTRANCE, TILEMAP_WATER_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_3, $06, MUSIC_OVERWORLD ; WATER_CLUB_ENTRANCE - db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALETTE_3, $0c, MUSIC_OVERWORLD ; WATER_CLUB_LOBBY - db TILEMAP_WATER_CLUB, TILEMAP_WATER_CLUB_CGB, $00, MAP_SGB_PALETTE_2, $0f, MUSIC_CLUB_2 ; WATER_CLUB - db TILEMAP_LIGHTNING_CLUB_ENTRANCE, TILEMAP_LIGHTNING_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_3, $07, MUSIC_OVERWORLD ; LIGHTNING_CLUB_ENTRANCE - db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALETTE_3, $0c, MUSIC_OVERWORLD ; LIGHTNING_CLUB_LOBBY - db TILEMAP_LIGHTNING_CLUB, TILEMAP_LIGHTNING_CLUB_CGB, $00, MAP_SGB_PALETTE_5, $10, MUSIC_CLUB_1 ; LIGHTNING_CLUB - db TILEMAP_GRASS_CLUB_ENTRANCE, TILEMAP_GRASS_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_3, $08, MUSIC_OVERWORLD ; GRASS_CLUB_ENTRANCE - db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALETTE_3, $0c, MUSIC_OVERWORLD ; GRASS_CLUB_LOBBY - db TILEMAP_GRASS_CLUB, TILEMAP_GRASS_CLUB_CGB, $00, MAP_SGB_PALETTE_6, $11, MUSIC_CLUB_1 ; GRASS_CLUB - db TILEMAP_PSYCHIC_CLUB_ENTRANCE, TILEMAP_PSYCHIC_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_3, $09, MUSIC_OVERWORLD ; PSYCHIC_CLUB_ENTRANCE - db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALETTE_3, $0c, MUSIC_OVERWORLD ; PSYCHIC_CLUB_LOBBY - db TILEMAP_PSYCHIC_CLUB, TILEMAP_PSYCHIC_CLUB_CGB, $00, MAP_SGB_PALETTE_7, $12, MUSIC_CLUB_2 ; PSYCHIC_CLUB - db TILEMAP_SCIENCE_CLUB_ENTRANCE, TILEMAP_SCIENCE_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_3, $0a, MUSIC_OVERWORLD ; SCIENCE_CLUB_ENTRANCE - db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALETTE_3, $0c, MUSIC_OVERWORLD ; SCIENCE_CLUB_LOBBY - db TILEMAP_SCIENCE_CLUB, TILEMAP_SCIENCE_CLUB_CGB, $00, MAP_SGB_PALETTE_6, $13, MUSIC_CLUB_3 ; SCIENCE_CLUB - db TILEMAP_FIRE_CLUB_ENTRANCE, TILEMAP_FIRE_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_3, $0b, MUSIC_OVERWORLD ; FIRE_CLUB_ENTRANCE - db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALETTE_3, $0c, MUSIC_OVERWORLD ; FIRE_CLUB_LOBBY - db TILEMAP_FIRE_CLUB, TILEMAP_FIRE_CLUB_CGB, $00, MAP_SGB_PALETTE_8, $14, MUSIC_CLUB_3 ; FIRE_CLUB - db TILEMAP_CHALLENGE_HALL_ENTRANCE, TILEMAP_CHALLENGE_HALL_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_3, $04, MUSIC_OVERWORLD ; CHALLENGE_HALL_ENTRANCE - db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALETTE_3, $0c, MUSIC_OVERWORLD ; CHALLENGE_HALL_LOBBY - db TILEMAP_CHALLENGE_HALL, TILEMAP_CHALLENGE_HALL_CGB, $00, MAP_SGB_PALETTE_9, $15, MUSIC_OVERWORLD ; CHALLENGE_HALL - db TILEMAP_POKEMON_DOME_ENTRANCE, TILEMAP_POKEMON_DOME_ENTRANCE_CGB, $00, MAP_SGB_PALETTE_10, $16, MUSIC_OVERWORLD ; POKEMON_DOME_ENTRANCE - db TILEMAP_POKEMON_DOME, TILEMAP_POKEMON_DOME_CGB, $00, MAP_SGB_PALETTE_10, $17, MUSIC_POKEMON_DOME ; POKEMON_DOME - db TILEMAP_HALL_OF_HONOR, TILEMAP_HALL_OF_HONOR_CGB, $00, MAP_SGB_PALETTE_10, $18, MUSIC_HALL_OF_HONOR ; HALL_OF_HONOR + db TILEMAP_OVERWORLD_MAP, TILEMAP_OVERWORLD_MAP_CGB, $00, MAP_SGB_PALS_1, $01, MUSIC_OVERWORLD ; OVERWORLD_MAP + db TILEMAP_MASON_LABORATORY, TILEMAP_MASON_LABORATORY_CGB, $00, MAP_SGB_PALS_2, $02, MUSIC_OVERWORLD ; MASON_LABORATORY + db TILEMAP_DECK_MACHINE_ROOM, TILEMAP_DECK_MACHINE_ROOM_CGB, $00, MAP_SGB_PALS_2, $02, MUSIC_OVERWORLD ; DECK_MACHINE_ROOM + db TILEMAP_ISHIHARA, TILEMAP_ISHIHARA_CGB, $00, MAP_SGB_PALS_3, $03, MUSIC_OVERWORLD ; ISHIHARAS_HOUSE + db TILEMAP_FIGHTING_CLUB_ENTRANCE, TILEMAP_FIGHTING_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALS_3, $04, MUSIC_OVERWORLD ; FIGHTING_CLUB_ENTRANCE + db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALS_3, $0c, MUSIC_OVERWORLD ; FIGHTING_CLUB_LOBBY + db TILEMAP_FIGHTING_CLUB, TILEMAP_FIGHTING_CLUB_CGB, $00, MAP_SGB_PALS_4, $0d, MUSIC_CLUB_3 ; FIGHTING_CLUB + db TILEMAP_ROCK_CLUB_ENTRANCE, TILEMAP_ROCK_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALS_3, $05, MUSIC_OVERWORLD ; ROCK_CLUB_ENTRANCE + db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALS_3, $0c, MUSIC_OVERWORLD ; ROCK_CLUB_LOBBY + db TILEMAP_ROCK_CLUB, TILEMAP_ROCK_CLUB_CGB, $00, MAP_SGB_PALS_4, $0e, MUSIC_CLUB_2 ; ROCK_CLUB + db TILEMAP_WATER_CLUB_ENTRANCE, TILEMAP_WATER_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALS_3, $06, MUSIC_OVERWORLD ; WATER_CLUB_ENTRANCE + db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALS_3, $0c, MUSIC_OVERWORLD ; WATER_CLUB_LOBBY + db TILEMAP_WATER_CLUB, TILEMAP_WATER_CLUB_CGB, $00, MAP_SGB_PALS_2, $0f, MUSIC_CLUB_2 ; WATER_CLUB + db TILEMAP_LIGHTNING_CLUB_ENTRANCE, TILEMAP_LIGHTNING_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALS_3, $07, MUSIC_OVERWORLD ; LIGHTNING_CLUB_ENTRANCE + db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALS_3, $0c, MUSIC_OVERWORLD ; LIGHTNING_CLUB_LOBBY + db TILEMAP_LIGHTNING_CLUB, TILEMAP_LIGHTNING_CLUB_CGB, $00, MAP_SGB_PALS_5, $10, MUSIC_CLUB_1 ; LIGHTNING_CLUB + db TILEMAP_GRASS_CLUB_ENTRANCE, TILEMAP_GRASS_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALS_3, $08, MUSIC_OVERWORLD ; GRASS_CLUB_ENTRANCE + db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALS_3, $0c, MUSIC_OVERWORLD ; GRASS_CLUB_LOBBY + db TILEMAP_GRASS_CLUB, TILEMAP_GRASS_CLUB_CGB, $00, MAP_SGB_PALS_6, $11, MUSIC_CLUB_1 ; GRASS_CLUB + db TILEMAP_PSYCHIC_CLUB_ENTRANCE, TILEMAP_PSYCHIC_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALS_3, $09, MUSIC_OVERWORLD ; PSYCHIC_CLUB_ENTRANCE + db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALS_3, $0c, MUSIC_OVERWORLD ; PSYCHIC_CLUB_LOBBY + db TILEMAP_PSYCHIC_CLUB, TILEMAP_PSYCHIC_CLUB_CGB, $00, MAP_SGB_PALS_7, $12, MUSIC_CLUB_2 ; PSYCHIC_CLUB + db TILEMAP_SCIENCE_CLUB_ENTRANCE, TILEMAP_SCIENCE_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALS_3, $0a, MUSIC_OVERWORLD ; SCIENCE_CLUB_ENTRANCE + db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALS_3, $0c, MUSIC_OVERWORLD ; SCIENCE_CLUB_LOBBY + db TILEMAP_SCIENCE_CLUB, TILEMAP_SCIENCE_CLUB_CGB, $00, MAP_SGB_PALS_6, $13, MUSIC_CLUB_3 ; SCIENCE_CLUB + db TILEMAP_FIRE_CLUB_ENTRANCE, TILEMAP_FIRE_CLUB_ENTRANCE_CGB, $00, MAP_SGB_PALS_3, $0b, MUSIC_OVERWORLD ; FIRE_CLUB_ENTRANCE + db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALS_3, $0c, MUSIC_OVERWORLD ; FIRE_CLUB_LOBBY + db TILEMAP_FIRE_CLUB, TILEMAP_FIRE_CLUB_CGB, $00, MAP_SGB_PALS_8, $14, MUSIC_CLUB_3 ; FIRE_CLUB + db TILEMAP_CHALLENGE_HALL_ENTRANCE, TILEMAP_CHALLENGE_HALL_ENTRANCE_CGB, $00, MAP_SGB_PALS_3, $04, MUSIC_OVERWORLD ; CHALLENGE_HALL_ENTRANCE + db TILEMAP_CLUB_LOBBY, TILEMAP_CLUB_LOBBY_CGB, $00, MAP_SGB_PALS_3, $0c, MUSIC_OVERWORLD ; CHALLENGE_HALL_LOBBY + db TILEMAP_CHALLENGE_HALL, TILEMAP_CHALLENGE_HALL_CGB, $00, MAP_SGB_PALS_9, $15, MUSIC_OVERWORLD ; CHALLENGE_HALL + db TILEMAP_POKEMON_DOME_ENTRANCE, TILEMAP_POKEMON_DOME_ENTRANCE_CGB, $00, MAP_SGB_PALS_10, $16, MUSIC_OVERWORLD ; POKEMON_DOME_ENTRANCE + db TILEMAP_POKEMON_DOME, TILEMAP_POKEMON_DOME_CGB, $00, MAP_SGB_PALS_10, $17, MUSIC_POKEMON_DOME ; POKEMON_DOME + db TILEMAP_HALL_OF_HONOR, TILEMAP_HALL_OF_HONOR_CGB, $00, MAP_SGB_PALS_10, $18, MUSIC_HALL_OF_HONOR ; HALL_OF_HONOR diff --git a/src/data/sgb_data/aerodactyl_intro_pals.bin b/src/data/sgb_data/aerodactyl_intro_pals.bin new file mode 100644 index 0000000..81f53ff Binary files /dev/null and b/src/data/sgb_data/aerodactyl_intro_pals.bin differ diff --git a/src/data/sgb_data/card_pop_pals.bin b/src/data/sgb_data/card_pop_pals.bin new file mode 100644 index 0000000..1cae5fe Binary files /dev/null and b/src/data/sgb_data/card_pop_pals.bin differ diff --git a/src/data/sgb_data/charizard_intro_pals.bin b/src/data/sgb_data/charizard_intro_pals.bin new file mode 100644 index 0000000..b3bc55a Binary files /dev/null and b/src/data/sgb_data/charizard_intro_pals.bin differ diff --git a/src/data/sgb_data/colosseum_booster_pals.bin b/src/data/sgb_data/colosseum_booster_pals.bin new file mode 100644 index 0000000..5b42426 Binary files /dev/null and b/src/data/sgb_data/colosseum_booster_pals.bin differ diff --git a/src/data/sgb_data/evolution_booster_pals.bin b/src/data/sgb_data/evolution_booster_pals.bin new file mode 100644 index 0000000..7c4d31d Binary files /dev/null and b/src/data/sgb_data/evolution_booster_pals.bin differ diff --git a/src/data/sgb_data/gameboy_link_pals.bin b/src/data/sgb_data/gameboy_link_pals.bin new file mode 100644 index 0000000..1a097e4 Binary files /dev/null and b/src/data/sgb_data/gameboy_link_pals.bin differ diff --git a/src/data/sgb_data/gameboy_printer_pals.bin b/src/data/sgb_data/gameboy_printer_pals.bin new file mode 100644 index 0000000..7475429 Binary files /dev/null and b/src/data/sgb_data/gameboy_printer_pals.bin differ diff --git a/src/data/sgb_data/laboratory_booster_pals.bin b/src/data/sgb_data/laboratory_booster_pals.bin new file mode 100644 index 0000000..a89ff66 Binary files /dev/null and b/src/data/sgb_data/laboratory_booster_pals.bin differ diff --git a/src/data/sgb_data/map_pals_1.bin b/src/data/sgb_data/map_pals_1.bin new file mode 100644 index 0000000..3fc62ba Binary files /dev/null and b/src/data/sgb_data/map_pals_1.bin differ diff --git a/src/data/sgb_data/map_pals_10.bin b/src/data/sgb_data/map_pals_10.bin new file mode 100644 index 0000000..8864b19 Binary files /dev/null and b/src/data/sgb_data/map_pals_10.bin differ diff --git a/src/data/sgb_data/map_pals_2.bin b/src/data/sgb_data/map_pals_2.bin new file mode 100644 index 0000000..b13d54b Binary files /dev/null and b/src/data/sgb_data/map_pals_2.bin differ diff --git a/src/data/sgb_data/map_pals_3.bin b/src/data/sgb_data/map_pals_3.bin new file mode 100644 index 0000000..2f7f104 Binary files /dev/null and b/src/data/sgb_data/map_pals_3.bin differ diff --git a/src/data/sgb_data/map_pals_4.bin b/src/data/sgb_data/map_pals_4.bin new file mode 100644 index 0000000..334a8a7 Binary files /dev/null and b/src/data/sgb_data/map_pals_4.bin differ diff --git a/src/data/sgb_data/map_pals_5.bin b/src/data/sgb_data/map_pals_5.bin new file mode 100644 index 0000000..d37ad71 Binary files /dev/null and b/src/data/sgb_data/map_pals_5.bin differ diff --git a/src/data/sgb_data/map_pals_6.bin b/src/data/sgb_data/map_pals_6.bin new file mode 100644 index 0000000..2c79bd3 Binary files /dev/null and b/src/data/sgb_data/map_pals_6.bin differ diff --git a/src/data/sgb_data/map_pals_7.bin b/src/data/sgb_data/map_pals_7.bin new file mode 100644 index 0000000..73c3d8b Binary files /dev/null and b/src/data/sgb_data/map_pals_7.bin differ diff --git a/src/data/sgb_data/map_pals_8.bin b/src/data/sgb_data/map_pals_8.bin new file mode 100644 index 0000000..0349fca Binary files /dev/null and b/src/data/sgb_data/map_pals_8.bin differ diff --git a/src/data/sgb_data/map_pals_9.bin b/src/data/sgb_data/map_pals_9.bin new file mode 100644 index 0000000..7804d5a Binary files /dev/null and b/src/data/sgb_data/map_pals_9.bin differ diff --git a/src/data/sgb_data/mystery_booster_pals.bin b/src/data/sgb_data/mystery_booster_pals.bin new file mode 100644 index 0000000..2cc6efe Binary files /dev/null and b/src/data/sgb_data/mystery_booster_pals.bin differ diff --git a/src/data/sgb_data/scyther_intro_pals.bin b/src/data/sgb_data/scyther_intro_pals.bin new file mode 100644 index 0000000..3b9634d Binary files /dev/null and b/src/data/sgb_data/scyther_intro_pals.bin differ diff --git a/src/data/sgb_data/title_screen_pals.bin b/src/data/sgb_data/title_screen_pals.bin new file mode 100644 index 0000000..be1e506 Binary files /dev/null and b/src/data/sgb_data/title_screen_pals.bin differ diff --git a/src/engine/bank1c.asm b/src/engine/bank1c.asm index d657ba1..2207d2e 100644 --- a/src/engine/bank1c.asm +++ b/src/engine/bank1c.asm @@ -377,17 +377,17 @@ SetSGB2AndSGB3MapPalette: ; 7036a (1c:436a) ret .pal_data_pointers - dw $722f ; unused - dw $722f ; MAP_SGB_PALETTE_1 - dw $7253 ; MAP_SGB_PALETTE_2 - dw $7277 ; MAP_SGB_PALETTE_3 - dw $729a ; MAP_SGB_PALETTE_4 - dw $72bd ; MAP_SGB_PALETTE_5 - dw $72e0 ; MAP_SGB_PALETTE_6 - dw $7304 ; MAP_SGB_PALETTE_7 - dw $7328 ; MAP_SGB_PALETTE_8 - dw $734b ; MAP_SGB_PALETTE_9 - dw $736f ; MAP_SGB_PALETTE_10 + dw SGBData_MapPals1 ; unused + dw SGBData_MapPals1 ; MAP_SGB_PALS_1 + dw SGBData_MapPals2 ; MAP_SGB_PALS_2 + dw SGBData_MapPals3 ; MAP_SGB_PALS_3 + dw SGBData_MapPals4 ; MAP_SGB_PALS_4 + dw SGBData_MapPals5 ; MAP_SGB_PALS_5 + dw SGBData_MapPals6 ; MAP_SGB_PALS_6 + dw SGBData_MapPals7 ; MAP_SGB_PALS_7 + dw SGBData_MapPals8 ; MAP_SGB_PALS_8 + dw SGBData_MapPals9 ; MAP_SGB_PALS_9 + dw SGBData_MapPals10 ; MAP_SGB_PALS_10 ; 0x703cb Func_703cb: ; 703cb (1c:43cb) @@ -502,48 +502,92 @@ Func_704c7: ; 704c7 (1c:44c7) ret ; 0x704d3 - INCROM $704d3, $73393 + INCROM $704d3, $7322f + +SGBData_MapPals1: ; 7322f (1c:722f) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_1.bin" + +SGBData_MapPals2: ; 73253 (1c:7253) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_2.bin" + +SGBData_MapPals3: ; 73277 (1c:7277) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_3.bin" + +SGBData_MapPals4: ; 7329a (1c:729a) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_4.bin" + +SGBData_MapPals5: ; 732bd (1c:72bd) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_5.bin" + +SGBData_MapPals6: ; 732e0 (1c:72e0) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_6.bin" + +SGBData_MapPals7: ; 73304 (1c:7304) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_7.bin" + +SGBData_MapPals8: ; 73328 (1c:7328) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_8.bin" + +SGBData_MapPals9: ; 7334b (1c:734b) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_9.bin" + +SGBData_MapPals10: ; 7336f (1c:736f) + dw $20 ; length + INCBIN "data/sgb_data/map_pals_10.bin" SGBData_CharizardIntro: ; 73393 (1c:7393) - dw $20 ; width - INCROM $73395, $733b8 + dw $20 ; length + INCBIN "data/sgb_data/charizard_intro_pals.bin" SGBData_ScytherIntro: ; 733b8 (1c:73b8) - dw $20 ; width - INCROM $733ba, $733dd + dw $20 ; length + INCBIN "data/sgb_data/scyther_intro_pals.bin" SGBData_AerodactylIntro: ; 733dd (1c:73dd) - dw $20 ; width - INCROM $733df, $73402 + dw $20 ; length + INCBIN "data/sgb_data/aerodactyl_intro_pals.bin" SGBData_ColosseumBooster: ; 73402 (1c:7402) - dw $20 ; width - INCROM $73404, $73427 + dw $20 ; length + INCBIN "data/sgb_data/colosseum_booster_pals.bin" SGBData_EvolutionBooster: ; 73427 (1c:7427) - dw $20 ; width - INCROM $73429, $7344c + dw $20 ; length + INCBIN "data/sgb_data/evolution_booster_pals.bin" SGBData_MysteryBooster: ; 7344c (1c:744c) - dw $20 ; width - INCROM $7344e, $73471 + dw $20 ; length + INCBIN "data/sgb_data/mystery_booster_pals.bin" SGBData_LaboratoryBooster: ; 73471 (1c:7471) - dw $20 ; width - INCROM $73473, $73aa8 + dw $20 ; length + INCBIN "data/sgb_data/laboratory_booster_pals.bin" + + INCROM $73496, $73aa8 SGBData_GameBoyLink: ; 73aa8 (1c:7aa8) - dw $40 ; width - INCROM $73aaa, $73ad8 + dw $40 ; length + INCBIN "data/sgb_data/gameboy_link_pals.bin" SGBData_CardPop: ; 73ad8 (1c:7ad8) - dw $40 ; width - INCROM $73ada, $73b05 + dw $40 ; length + INCBIN "data/sgb_data/card_pop_pals.bin" SGBData_GameBoyPrinter: ; 73b05 (1c:7b05) - dw $40 ; width - INCROM $73b07, $73b33 + dw $40 ; length + INCBIN "data/sgb_data/gameboy_printer_pals.bin" SGBData_TitleScreen: ; 73b33 (1c:7b33) - dw $40 ; width - INCROM $73b35, $74000 + dw $40 ; length + INCBIN "data/sgb_data/title_screen_pals.bin" + + INCROM $73b63, $74000 diff --git a/src/engine/home.asm b/src/engine/home.asm index b0971cf..4e6e4cb 100644 --- a/src/engine/home.asm +++ b/src/engine/home.asm @@ -1621,7 +1621,7 @@ DecompressData: ; 08de (0:08de) inc hl ; wDecompCommandByte jr nz, .read_command_bit dec hl ; wDecompNumCommandBitsLeft - ld [hl], $8 ; number of bits + ld [hl], 8 ; number of bits inc hl ; wDecompCommandByte ld a, [bc] inc bc -- cgit v1.2.3 From 3f1343617f4c30062a3f497416abfc69b9072367 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Thu, 18 Feb 2021 09:00:37 +0000 Subject: Remove bank05 padding INCROM --- src/engine/bank05.asm | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/engine/bank05.asm b/src/engine/bank05.asm index 81964a9..e22a88c 100644 --- a/src/engine/bank05.asm +++ b/src/engine/bank05.asm @@ -7279,6 +7279,3 @@ HandleLegendaryArticunoEnergyScoring: ; 175bd (5:75bd) .articuno_deck call ScoreLegendaryArticunoCards ret - -Func_175c9: ; 175c9 (5:75c9) - INCROM $175c9, $18000 -- cgit v1.2.3 From d49e8a0db46c1e5289da1429f2218f1e0dbe9831 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Thu, 18 Feb 2021 14:43:21 +0000 Subject: Label permission map loading routines --- src/engine/bank03.asm | 39 ++++++---- src/engine/bank04.asm | 2 +- src/engine/bank20.asm | 208 +++++++++++++++++++++++++++----------------------- src/gfx.asm | 130 +++++++++++++++---------------- src/sram.asm | 4 +- src/wram.asm | 9 ++- 6 files changed, 212 insertions(+), 180 deletions(-) (limited to 'src') diff --git a/src/engine/bank03.asm b/src/engine/bank03.asm index 700ebb4..345b345 100644 --- a/src/engine/bank03.asm +++ b/src/engine/bank03.asm @@ -468,33 +468,41 @@ Func_c36a: ; c36a (3:436a) .asm_c379 ret -Func_c37a: ; c37a (3:437a) +; loads in wPermissionMap the permissions +; of the map, which has its compressed permission data +; pointed by wBGMapPermissionDataPtr +LoadPermissionMap: ; c37a (3:437a) push hl push bc - ld hl, wBoosterViableCardList + ld hl, wPermissionMap push hl - ld a, $80 + ld a, $80 ; impassable and untalkable ld c, $00 -.asm_c384 +.loop_map ld [hli], a dec c - jr nz, .asm_c384 + jr nz, .loop_map pop hl - call Func_c38f + call DecompressPermissionMap pop bc pop hl ret -Func_c38f: ; c38f (3:438f) +; decompresses permission data pointed by wBGMapPermissionDataPtr +; hl = address to write to +DecompressPermissionMap: ; c38f (3:438f) push hl push bc - ld a, [wd23a] + ld a, [wBGMapPermissionDataPtr] ld e, a - ld a, [wd23a + 1] + ld a, [wBGMapPermissionDataPtr + 1] ld d, a or e jr z, .skip +; permissions are applied to 2x2 square tiles +; so the data is half the width and height +; of the actual tile map push hl ld b, HIGH(wDecompressionSecondaryBuffer) call InitDataDecompression @@ -503,23 +511,24 @@ Func_c38f: ; c38f (3:438f) ld a, [wBGMapHeight] inc a srl a - ld b, a + ld b, a ; (height + 1) / 2 ld a, [wBGMapWidth] inc a srl a - ld c, a + ld c, a ; (width + 1) / 2 pop de -.asm_c3b7 + +.loop push bc - ld b, $00 + ld b, 0 ; one row (with width in c) call DecompressDataFromBank - ld hl, $10 + ld hl, $10 ; next row add hl, de ld d, h ld e, l pop bc dec b - jr nz, .asm_c3b7 + jr nz, .loop .skip pop bc diff --git a/src/engine/bank04.asm b/src/engine/bank04.asm index ccde0ac..90f04c3 100644 --- a/src/engine/bank04.asm +++ b/src/engine/bank04.asm @@ -2990,7 +2990,7 @@ _LoadScene: ; 12c7f (4:6c7f) ld [wCurTilemap], a pop bc push bc - farcall Func_8007e ; load tilemap + farcall LoadTilemap_ToVRAM pop bc ; base x,y call LoadScene_LoadSGBPacket ld a, [hli] diff --git a/src/engine/bank20.asm b/src/engine/bank20.asm index d6a7ac0..ee7f304 100644 --- a/src/engine/bank20.asm +++ b/src/engine/bank20.asm @@ -3,7 +3,7 @@ Func_80000: ; 80000 (20:4000) xor a ld [wTextBoxFrameType], a call Func_8003d - farcall Func_c37a + farcall LoadPermissionMap farcall Func_c9c7 call Func_801a1 farcall Func_c3ff @@ -18,7 +18,7 @@ Func_80000: ; 80000 (20:4000) Func_80028: ; 80028 (20:4028) call ClearSRAMBGMaps ld bc, $0000 - call Func_80077 + call LoadTilemap_ToSRAM farcall Func_c9c7 call Func_801a1 farcall Func_c3ee @@ -28,15 +28,18 @@ Func_80028: ; 80028 (20:4028) Func_8003d: ; 8003d (20:403d) farcall LoadMapHeader farcall SetSGB2AndSGB3MapPalette - ld bc, $0 - call Func_80077 - ld a, $80 - ld [wd4ca], a - xor a + + lb bc, 0, 0 + call LoadTilemap_ToSRAM + + ld a, LOW(v0Tiles1 / TILE_SIZE) + ld [wVRAMTileOffset], a + xor a ; VRAM0 ld [wd4cb], a call LoadTilesetGfx - xor a - ld [wd4ca], a + + xor a ; LOW(v0Tiles2 / TILE_SIZE) + ld [wVRAMTileOffset], a ld a, [wd291] ld [wd4cb], a ld a, [wd28f] @@ -51,17 +54,21 @@ Func_8003d: ; 8003d (20:403d) ret ; 0x80077 -Func_80077: ; 80077 (20:4077) +LoadTilemap_ToSRAM: ; 80077 (20:4077) ld a, TRUE ld [wWriteBGMapToSRAM], a - jr Func_80082 + jr LoadTilemap -Func_8007e: ; 8007e (20:407e) - xor a +LoadTilemap_ToVRAM: ; 8007e (20:407e) + xor a ; FALSE ld [wWriteBGMapToSRAM], a ; fallthrough -Func_80082: ; 80082 (20:4082) +; loads the BG map corresponding to wCurTilemap +; either loads them in VRAM or SRAM, +; depending on wWriteBGMapToSRAM +; bc = starting coordinates +LoadTilemap: ; 80082 (20:4082) push hl push bc push de @@ -78,7 +85,7 @@ Func_80082: ; 80082 (20:4082) ; store header data ld de, wDecompressionBuffer - ld bc, $0006 ; header + 1st instruction + ld bc, $6 ; header + 1st instruction call CopyBankedDataToDE ld l, e ld h, d @@ -87,27 +94,29 @@ Func_80082: ; 80082 (20:4082) ld a, [hli] ld [wBGMapHeight], a ld a, [hli] - ld [wd23a], a + ld [wBGMapPermissionDataPtr], a ld a, [hli] - ld [wd23a + 1], a + ld [wBGMapPermissionDataPtr + 1], a ld a, [hli] - ld [wd23c], a - - call Func_800bd + ld [wBGMapCGBMode], a + call .InitAndDecompressBGMap pop de pop bc pop hl ret -Func_800bd: ; 800bd (20:40bd) +; prepares the pointers for decompressing BG Map +; and calls InitDataDecompression +; then decompresses the data +.InitAndDecompressBGMap ; 800bd (20:40bd) push hl push bc push de ld a, [wTempPointer] - add $05 + add $5 ; header ld e, a ld a, [wTempPointer + 1] - adc $00 + adc 0 ld d, a ld b, HIGH(wDecompressionSecondaryBuffer) call InitDataDecompression @@ -115,24 +124,29 @@ Func_800bd: ; 800bd (20:40bd) ld e, a ld a, [wVRAMPointer + 1] ld d, a - call Func_800e0 + call .Decompress pop de pop bc pop hl ret -Func_800e0: ; 800e0 (20:40e0) -; if wd23c != 0, then use double wBGMapWidth +; wTempBank:wTempPointer = source of compressed data +; wVRAMPointer = destination of decompressed data +.Decompress ; 800e0 (20:40e0) +; if wBGMapCGBMode is true, then use double wBGMapWidth +; since one "width" length goes to VRAM0 +; and the onther "width" length goes to VRAM1 push hl ld hl, wd28e ld a, [wBGMapWidth] ld [hl], a - ld a, [wd23c] + ld a, [wBGMapCGBMode] or a - jr z, .asm_800f0 + jr z, .skip_doubling_width sla [hl] -.asm_800f0 +.skip_doubling_width +; clear wDecompressionBuffer ld c, $40 ld hl, wDecompressionBuffer xor a @@ -153,6 +167,7 @@ Func_800e0: ; 800e0 (20:40e0) ld de, wDecompressionBuffer call DecompressDataFromBank + ; copy to VRAM0 ld a, [wBGMapWidth] ld b, a pop de @@ -164,17 +179,18 @@ Func_800e0: ; 800e0 (20:40e0) jr nz, .next_row ; cgb only + ; copy the second "half" to VRAM1 call BankswitchVRAM1 ld a, [wBGMapWidth] ld c, a - ld b, $00 + ld b, $0 ld hl, wDecompressionBuffer add hl, bc pop de push de ld a, [wBGMapWidth] ld b, a - call Func_80148 + call Func_80148 ; adds some wd291 offset to tiles call CopyBGDataToVRAMOrSRAM call BankswitchVRAM0 @@ -195,7 +211,7 @@ Func_80148: ; 80148 (20:4148) ld a, [wd291] or a ret z - ld a, [wd23c] + ld a, [wBGMapCGBMode] or a jr z, .asm_80162 @@ -231,7 +247,7 @@ Func_80148: ; 80148 (20:4148) ; to either VRAM or SRAM, depending on wWriteBGMapToSRAM ; de is the target address in VRAM, ; if SRAM is the target address to copy, -; copies data to s0BGMap or s1BGMap +; copies data to sBGMap0 or sBGMap1 ; for VRAM0 or VRAM1 respectively CopyBGDataToVRAMOrSRAM: ; 8016e (20:416e) ld a, [wWriteBGMapToSRAM] @@ -247,11 +263,11 @@ CopyBGDataToVRAMOrSRAM: ; 8016e (20:416e) ld a, BANK("SRAM1") call BankswitchSRAM push hl - ld hl, s0BGMap - v0BGMap0 + ld hl, sBGMap0 - v0BGMap0 ldh a, [hBankVRAM] or a jr z, .got_pointer - ld hl, s1BGMap - v1BGMap0 + ld hl, sBGMap1 - v1BGMap0 .got_pointer add hl, de ld e, l @@ -279,7 +295,7 @@ Func_801a1: ; 801a1 (20:41a1) push af ld a, $1 call BankswitchSRAM - ld hl, v0End + ld hl, sBGMap0 ld de, v0BGMap0 ld c, $20 .asm_801b4 @@ -322,16 +338,16 @@ Func_801a1: ; 801a1 (20:41a1) pop hl ret -; clears s0BGMap and s1BGMap +; clears sBGMap0 and sBGMap1 ClearSRAMBGMaps: ; 801f1 (20:41f1) push hl push bc ldh a, [hBankSRAM] push af - ld a, BANK(s0BGMap) ; SRAM 1 + ld a, BANK(sBGMap0) ; SRAM 1 call BankswitchSRAM - ld hl, s0BGMap - ld bc, $800 ; s0BGMap + s1BGMap + ld hl, sBGMap0 + ld bc, $800 ; sBGMap0 + sBGMap1 xor a call FillMemoryWithA pop af @@ -651,28 +667,30 @@ Func_803b9: ; 803b9 (20:43b9) ret ; 0x803c9 +; a = palette index to load Func_803c9: ; 803c9 (20:43c9) push hl push bc push de - call CopyPaletteDataToBuffer + call LoadPaletteDataToBuffer ld hl, wLoadedPalData ld a, [hli] or a - jr z, .asm_803dc + jr z, .skip_bgp ld a, [hli] push hl call SetBGP pop hl -.asm_803dc +.skip_bgp + ld a, [hli] or a - jr z, .asm_803e8 + jr z, .skip_pal ld c, a ld a, [wd4cb] ld b, a call LoadPaletteDataFromHL -.asm_803e8 +.skip_pal pop de pop bc pop hl @@ -733,7 +751,7 @@ LoadPaletteData: ; 80418 (20:4418) push hl push bc push de - call CopyPaletteDataToBuffer + call LoadPaletteDataToBuffer ld hl, wLoadedPalData ld a, [hli] ; number palettes @@ -786,7 +804,7 @@ LoadPaletteData: ; 80418 (20:4418) ; 0x80456 ; copies palette data of index in a to wLoadedPalData -CopyPaletteDataToBuffer: ; 80456 (20:4456) +LoadPaletteDataToBuffer: ; 80456 (20:4456) push hl push bc push de @@ -1161,9 +1179,9 @@ Func_80baa: ; 80baa (20:4baa) push af ld a, [wBGMapHeight] push af - ld a, [wd23a] + ld a, [wBGMapPermissionDataPtr] push af - ld a, [wd23a + 1] + ld a, [wBGMapPermissionDataPtr + 1] push af ld b, $0 @@ -1194,7 +1212,7 @@ Func_80baa: ; 80baa (20:4baa) ld a, [hl] ld [wCurTilemap], a push bc - farcall Func_80082 ; unnecessary farcall + farcall LoadTilemap ; unnecessary farcall pop bc srl b ld a, c @@ -1204,13 +1222,13 @@ Func_80baa: ; 80baa (20:4baa) add b ld c, a ld b, $0 - ld hl, wBoosterViableCardList + ld hl, wPermissionMap add hl, bc - farcall Func_c38f + farcall DecompressPermissionMap pop af - ld [wd23a + 1], a + ld [wBGMapPermissionDataPtr + 1], a pop af - ld [wd23a], a + ld [wBGMapPermissionDataPtr], a pop af ld [wBGMapHeight], a pop af @@ -2010,7 +2028,7 @@ OverworldMapTilemap:: ; 8191b (20:591b) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map0.bin" @@ -2018,7 +2036,7 @@ OverworldMapCGBTilemap:: ; 81a22 (20:5a22) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map1.bin" @@ -2026,7 +2044,7 @@ MasonLaboratoryTilemap:: ; 81c13 (20:5c13) db $1c ; width db $1e ; height dw $5d11 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map2.bin" @@ -2034,7 +2052,7 @@ MasonLaboratoryCGBTilemap:: ; 81d2e (20:5d2e) db $1c ; width db $1e ; height dw $5eb4 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map3.bin" @@ -2042,7 +2060,7 @@ Unused1Tilemap:: ; 81ed1 (20:5ed1) db $04 ; width db $06 ; height dw $5ef0 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map4.bin" @@ -2050,7 +2068,7 @@ Unused2Tilemap:: ; 81ef5 (20:5ef5) db $04 ; width db $06 ; height dw $5f21 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map5.bin" @@ -2058,7 +2076,7 @@ DeckMachineRoomTilemap:: ; 81f26 (20:5f26) db $18 ; width db $1e ; height dw $5fd3 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map6.bin" @@ -2066,7 +2084,7 @@ DeckMachineRoomCGBTilemap:: ; 81feb (20:5feb) db $18 ; width db $1e ; height dw $612b - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map7.bin" @@ -2074,7 +2092,7 @@ Unused3Tilemap:: ; 82143 (20:6143) db $04 ; width db $01 ; height dw $614d - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map8.bin" @@ -2082,7 +2100,7 @@ Unused4Tilemap:: ; 82150 (20:6150) db $04 ; width db $01 ; height dw $615d - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map9.bin" @@ -2090,7 +2108,7 @@ IshiharaTilemap:: ; 82160 (20:6160) db $14 ; width db $18 ; height dw $620e - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map10.bin" @@ -2098,7 +2116,7 @@ IshiharaCGBTilemap:: ; 82222 (20:6222) db $14 ; width db $18 ; height dw $6322 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map11.bin" @@ -2106,7 +2124,7 @@ FightingClubEntranceTilemap:: ; 82336 (20:6336) db $14 ; width db $12 ; height dw $63ec - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map12.bin" @@ -2114,7 +2132,7 @@ FightingClubEntranceCGBTilemap:: ; 82400 (20:6400) db $14 ; width db $12 ; height dw $6509 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map13.bin" @@ -2122,7 +2140,7 @@ RockClubEntranceTilemap:: ; 8251d (20:651d) db $14 ; width db $12 ; height dw $65d3 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map14.bin" @@ -2130,7 +2148,7 @@ RockClubEntranceCGBTilemap:: ; 825e7 (20:65e7) db $14 ; width db $12 ; height dw $66f0 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map15.bin" @@ -2138,7 +2156,7 @@ WaterClubEntranceTilemap:: ; 82704 (20:6704) db $14 ; width db $12 ; height dw $67ba - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map16.bin" @@ -2146,7 +2164,7 @@ WaterClubEntranceCGBTilemap:: ; 827ce (20:67ce) db $14 ; width db $12 ; height dw $68d7 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map17.bin" @@ -2154,7 +2172,7 @@ LightningClubEntranceTilemap:: ; 828eb (20:68eb) db $14 ; width db $12 ; height dw $69a1 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map18.bin" @@ -2162,7 +2180,7 @@ LightningClubEntranceCGBTilemap:: ; 829b5 (20:69b5) db $14 ; width db $12 ; height dw $6abe - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map19.bin" @@ -2170,7 +2188,7 @@ GrassClubEntranceTilemap:: ; 82ad2 (20:6ad2) db $14 ; width db $12 ; height dw $6b88 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map20.bin" @@ -2178,7 +2196,7 @@ GrassClubEntranceCGBTilemap:: ; 82b9c (20:6b9c) db $14 ; width db $12 ; height dw $6ca5 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map21.bin" @@ -2186,7 +2204,7 @@ PsychicClubEntranceTilemap:: ; 82cb9 (20:6cb9) db $14 ; width db $12 ; height dw $6d6f - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map22.bin" @@ -2194,7 +2212,7 @@ PsychicClubEntranceCGBTilemap:: ; 82d83 (20:6d83) db $14 ; width db $12 ; height dw $6e8c - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map23.bin" @@ -2202,7 +2220,7 @@ ScienceClubEntranceTilemap:: ; 82ea0 (20:6ea0) db $14 ; width db $12 ; height dw $6f56 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map24.bin" @@ -2210,7 +2228,7 @@ ScienceClubEntranceCGBTilemap:: ; 82f6a (20:6f6a) db $14 ; width db $12 ; height dw $7073 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map25.bin" @@ -2218,7 +2236,7 @@ FireClubEntranceTilemap:: ; 83087 (20:7087) db $14 ; width db $12 ; height dw $713d - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map26.bin" @@ -2226,7 +2244,7 @@ FireClubEntranceCGBTilemap:: ; 83151 (20:7151) db $14 ; width db $12 ; height dw $725a - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map27.bin" @@ -2234,7 +2252,7 @@ ChallengeHallEntranceTilemap:: ; 8326e (20:726e) db $14 ; width db $12 ; height dw $730d - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map28.bin" @@ -2242,7 +2260,7 @@ ChallengeHallEntranceCGBTilemap:: ; 83321 (20:7321) db $14 ; width db $12 ; height dw $7410 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map29.bin" @@ -2250,7 +2268,7 @@ ClubLobbyTilemap:: ; 83424 (20:7424) db $1c ; width db $1a ; height dw $7529 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map30.bin" @@ -2258,7 +2276,7 @@ ClubLobbyCGBTilemap:: ; 83545 (20:7545) db $1c ; width db $1a ; height dw $76bf - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map31.bin" @@ -2266,7 +2284,7 @@ FightingClubTilemap:: ; 836db (20:76db) db $18 ; width db $12 ; height dw $777b - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map32.bin" @@ -2274,7 +2292,7 @@ FightingClubCGBTilemap:: ; 8378c (20:778c) db $18 ; width db $12 ; height dw $787c - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map33.bin" @@ -2282,7 +2300,7 @@ RockClubTilemap:: ; 8388d (20:788d) db $1c ; width db $1e ; height dw $79b5 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map34.bin" @@ -2290,7 +2308,7 @@ RockClubCGBTilemap:: ; 839d6 (20:79d6) db $1c ; width db $1e ; height dw $7bd0 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map35.bin" @@ -2298,7 +2316,7 @@ Unused5Tilemap:: ; 83bf1 (20:7bf1) db $04 ; width db $03 ; height dw $7c00 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map52.bin" @@ -2306,7 +2324,7 @@ Unused6Tilemap:: ; 83c03 (20:7c03) db $04 ; width db $03 ; height dw $7c17 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map53.bin" @@ -2314,7 +2332,7 @@ Unused7Tilemap:: ; 83c1a (20:7c1a) db $04 ; width db $03 ; height dw $7c23 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map56.bin" @@ -2322,7 +2340,7 @@ Unused8Tilemap:: ; 83c26 (20:7c26) db $04 ; width db $03 ; height dw $7c33 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map57.bin" @@ -2330,7 +2348,7 @@ GrassMedalTilemap:: ; 83c36 (20:7c36) db $03 ; width db $03 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map62.bin" diff --git a/src/gfx.asm b/src/gfx.asm index 903cbad..c03f4e6 100644 --- a/src/gfx.asm +++ b/src/gfx.asm @@ -47,7 +47,7 @@ WaterClubTilemap:: ; 84000 (21:4000) db $1c ; width db $20 ; height dw $4164 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map36.bin" @@ -55,7 +55,7 @@ WaterClubCGBTilemap:: ; 84188 (21:4188) db $1c ; width db $20 ; height dw $4397 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map37.bin" @@ -63,7 +63,7 @@ LightningClubTilemap:: ; 843bb (21:43bb) db $1c ; width db $20 ; height dw $4511 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map38.bin" @@ -71,7 +71,7 @@ LightningClubCGBTilemap:: ; 84533 (21:4533) db $1c ; width db $20 ; height dw $470c - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map39.bin" @@ -79,7 +79,7 @@ GrassClubTilemap:: ; 8472e (21:472e) db $1c ; width db $20 ; height dw $48b4 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map40.bin" @@ -87,7 +87,7 @@ GrassClubCGBTilemap:: ; 848d8 (21:48d8) db $1c ; width db $20 ; height dw $4b4f - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map41.bin" @@ -95,7 +95,7 @@ PsychicClubTilemap:: ; 84b73 (21:4b73) db $1c ; width db $1c ; height dw $4c50 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map42.bin" @@ -103,7 +103,7 @@ PsychicClubCGBTilemap:: ; 84c6f (21:4c6f) db $1c ; width db $1c ; height dw $4ddf - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map43.bin" @@ -111,7 +111,7 @@ ScienceClubTilemap:: ; 84dfe (21:4dfe) db $1c ; width db $20 ; height dw $4efe - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map44.bin" @@ -119,7 +119,7 @@ ScienceClubCGBTilemap:: ; 84f1d (21:4f1d) db $1c ; width db $20 ; height dw $5097 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map45.bin" @@ -127,7 +127,7 @@ FireClubTilemap:: ; 850b6 (21:50b6) db $1c ; width db $20 ; height dw $5175 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map46.bin" @@ -135,7 +135,7 @@ FireClubCGBTilemap:: ; 85191 (21:5191) db $1c ; width db $20 ; height dw $52f9 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map47.bin" @@ -143,7 +143,7 @@ ChallengeHallTilemap:: ; 85315 (21:5315) db $20 ; width db $20 ; height dw $5484 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map48.bin" @@ -151,7 +151,7 @@ ChallengeHallCGBTilemap:: ; 854b3 (21:54b3) db $20 ; width db $20 ; height dw $56db - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map49.bin" @@ -159,7 +159,7 @@ PokemonDomeEntranceTilemap:: ; 8570a (21:570a) db $20 ; width db $12 ; height dw $57ba - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map50.bin" @@ -167,7 +167,7 @@ PokemonDomeEntranceCGBTilemap:: ; 857ce (21:57ce) db $20 ; width db $12 ; height dw $58db - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map51.bin" @@ -175,7 +175,7 @@ PokemonDomeTilemap:: ; 858ef (21:58ef) db $20 ; width db $20 ; height dw $5a58 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map54.bin" @@ -183,7 +183,7 @@ PokemonDomeGBTilemap:: ; 85a79 (21:5a79) db $20 ; width db $20 ; height dw $5cc1 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map55.bin" @@ -191,7 +191,7 @@ HallOfHonorTilemap:: ; 85ce2 (21:5ce2) db $18 ; width db $1a ; height dw $5ddc - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map58.bin" @@ -199,7 +199,7 @@ HallOfHonorCGBTilemap:: ; 85df4 (21:5df4) db $18 ; width db $1a ; height dw $5f64 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map59.bin" @@ -207,7 +207,7 @@ CardPopCGBTilemap:: ; 85f7c (21:5f7c) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map60.bin" @@ -215,7 +215,7 @@ CardPopTilemap:: ; 8607f (21:607f) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map61.bin" @@ -223,7 +223,7 @@ ScienceMedalTilemap:: ; 8617d (21:617d) db $03 ; width db $03 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map63.bin" @@ -231,7 +231,7 @@ FireMedalTilemap:: ; 86193 (21:6193) db $03 ; width db $03 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map64.bin" @@ -239,7 +239,7 @@ WaterMedalTilemap:: ; 861a9 (21:61a9) db $03 ; width db $03 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map65.bin" @@ -247,7 +247,7 @@ LightningMedalTilemap:: ; 861bf (21:61bf) db $03 ; width db $03 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map66.bin" @@ -255,7 +255,7 @@ FightingMedalTilemap:: ; 861d5 (21:61d5) db $03 ; width db $03 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map67.bin" @@ -263,7 +263,7 @@ RockMedalTilemap:: ; 861eb (21:61eb) db $03 ; width db $03 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map68.bin" @@ -271,7 +271,7 @@ PsychicMedalTilemap:: ; 86201 (21:6201) db $03 ; width db $03 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map69.bin" @@ -279,7 +279,7 @@ GameBoyLinkCGBTilemap:: ; 86217 (21:6217) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map70.bin" @@ -287,7 +287,7 @@ GameBoyLinkTilemap:: ; 862da (21:62da) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map71.bin" @@ -295,7 +295,7 @@ GameBoyLinkConnectingCGBTilemap:: ; 86364 (21:6364) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map72.bin" @@ -303,7 +303,7 @@ GameBoyLinkConnectingTilemap:: ; 86443 (21:6443) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map73.bin" @@ -311,7 +311,7 @@ GameBoyPrinterCGBTilemap:: ; 864df (21:64df) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map74.bin" @@ -319,7 +319,7 @@ GameBoyPrinterTilemap:: ; 865b5 (21:65b5) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map75.bin" @@ -327,7 +327,7 @@ ColosseumTilemap:: ; 86647 (21:6647) db $08 ; width db $0c ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map76.bin" @@ -335,7 +335,7 @@ ColosseumCGBTilemap:: ; 866b8 (21:66b8) db $08 ; width db $0c ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map77.bin" @@ -343,7 +343,7 @@ EvolutionTilemap:: ; 8673e (21:673e) db $08 ; width db $0c ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map78.bin" @@ -351,7 +351,7 @@ EvolutionCGBTilemap:: ; 867af (21:67af) db $08 ; width db $0c ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map79.bin" @@ -359,7 +359,7 @@ MysteryTilemap:: ; 86833 (21:6833) db $08 ; width db $0c ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map80.bin" @@ -367,7 +367,7 @@ MysteryCGBTilemap:: ; 868a4 (21:68a4) db $08 ; width db $0c ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map81.bin" @@ -375,7 +375,7 @@ LaboratoryTilemap:: ; 86925 (21:6925) db $08 ; width db $0c ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map82.bin" @@ -383,7 +383,7 @@ LaboratoryCGBTilemap:: ; 86996 (21:6996) db $08 ; width db $0c ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map83.bin" @@ -391,7 +391,7 @@ CharizardIntroTilemap:: ; 86a14 (21:6a14) db $08 ; width db $0c ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map84.bin" @@ -399,7 +399,7 @@ CharizardIntroCGBTilemap:: ; 86a85 (21:6a85) db $08 ; width db $0c ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map85.bin" @@ -407,7 +407,7 @@ ScytherIntroTilemap:: ; 86b28 (21:6b28) db $08 ; width db $0c ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map86.bin" @@ -415,7 +415,7 @@ ScytherIntroCGBTilemap:: ; 86b99 (21:6b99) db $08 ; width db $0c ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map87.bin" @@ -423,7 +423,7 @@ AerodactylIntroTilemap:: ; 86c34 (21:6c34) db $08 ; width db $0c ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map88.bin" @@ -431,7 +431,7 @@ AerodactylIntroCGBTilemap:: ; 86ca5 (21:6ca5) db $08 ; width db $0c ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map89.bin" @@ -439,7 +439,7 @@ TitleScreen1Tilemap:: ; 86d37 (21:6d37) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map90.bin" @@ -447,7 +447,7 @@ TitleScreen2Tilemap:: ; 86dcc (21:6dcc) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map91.bin" @@ -455,7 +455,7 @@ SolidTiles1Tilemap:: ; 86e8a (21:6e8a) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map92.bin" @@ -463,7 +463,7 @@ SolidTiles2Tilemap:: ; 86f18 (21:6f18) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map93.bin" @@ -471,7 +471,7 @@ SolidTiles3Tilemap:: ; 86fc0 (21:6fc0) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map94.bin" @@ -479,7 +479,7 @@ TitleScreen3Tilemap:: ; 8704f (21:704f) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map95.bin" @@ -487,7 +487,7 @@ TitleScreen4Tilemap:: ; 871a5 (21:71a5) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map96.bin" @@ -495,7 +495,7 @@ SolidTiles4Tilemap:: ; 87397 (21:7397) db $08 ; width db $04 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map97.bin" @@ -503,7 +503,7 @@ PlayerTilemap:: ; 873b7 (21:73b7) db $06 ; width db $06 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map98.bin" @@ -511,7 +511,7 @@ OpponentTilemap:: ; 873e5 (21:73e5) db $06 ; width db $06 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map99.bin" @@ -519,7 +519,7 @@ TitleScreen5Tilemap:: ; 87413 (21:7413) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map100.bin" @@ -527,7 +527,7 @@ TitleScreen6Tilemap:: ; 87538 (21:7538) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map101.bin" @@ -535,7 +535,7 @@ CopyrightTilemap:: ; 8769f (21:769f) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map102.bin" @@ -543,7 +543,7 @@ CopyrightCGBTilemap:: ; 876f6 (21:76f6) db $14 ; width db $12 ; height dw $0000 - db $01 + db TRUE ; cgb mode INCBIN "data/maps/map103.bin" @@ -551,7 +551,7 @@ NintendoTilemap:: ; 8777c (21:777c) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map104.bin" @@ -559,7 +559,7 @@ CompaniesTilemap:: ; 877c4 (21:77c4) db $14 ; width db $12 ; height dw $0000 - db $00 + db FALSE ; cgb mode INCBIN "data/maps/map105.bin" diff --git a/src/sram.asm b/src/sram.asm index f8d77fb..f2ffbf2 100644 --- a/src/sram.asm +++ b/src/sram.asm @@ -200,9 +200,9 @@ sba68:: ; ba68 SECTION "SRAM1", SRAM ; from VRAM0 -s0BGMap:: ds $400 ; a000 +sBGMap0:: ds $400 ; a000 ; from VRAM1 -s1BGMap:: ds $400 ; a400 +sBGMap1:: ds $400 ; a400 SECTION "SRAM2", SRAM diff --git a/src/wram.asm b/src/wram.asm index e5f8b9c..de91ebd 100644 --- a/src/wram.asm +++ b/src/wram.asm @@ -2167,10 +2167,15 @@ wd238:: ; d238 wCurTileset:: ; d239 ds $1 -wd23a:: ; d23a +; pointer to compressed data +; of the current map's permission map +wBGMapPermissionDataPtr:: ; d23a ds $2 -wd23c:: ; d23c +; whether the BG Map is in CGB mode +; this means half of the width is for +; VRAM0 and the other half is for VRAM1 +wBGMapCGBMode:: ; d23c ds $1 wd23d:: ; d23d -- cgit v1.2.3 From 5d5acff2cc44369fdd49905228b45d9aeeefb09f Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Thu, 18 Feb 2021 15:21:26 +0000 Subject: Document bank20 routines --- src/engine/bank03.asm | 7 +++++-- src/engine/bank20.asm | 25 ++++++++++++++----------- 2 files changed, 19 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/engine/bank03.asm b/src/engine/bank03.asm index 345b345..c29f75a 100644 --- a/src/engine/bank03.asm +++ b/src/engine/bank03.asm @@ -605,11 +605,12 @@ Func_c41c: ; c41c (3:441c) ret Func_c430: ; c430 (3:4430) +; update wSCXBuffer push bc ld a, [wd237] sla a sla a - sla a + sla a ; *8 ld b, a ld a, [wSCXBuffer] cp $b1 @@ -622,10 +623,12 @@ Func_c430: ; c430 (3:4430) ld a, b .asm_c449 ld [wSCXBuffer], a + +; update wSCYBuffer ld a, [wd238] sla a sla a - sla a + sla a ; *8 ld b, a ld a, [wSCYBuffer] cp $b9 diff --git a/src/engine/bank20.asm b/src/engine/bank20.asm index ee7f304..231becf 100644 --- a/src/engine/bank20.asm +++ b/src/engine/bank20.asm @@ -5,7 +5,7 @@ Func_80000: ; 80000 (20:4000) call Func_8003d farcall LoadPermissionMap farcall Func_c9c7 - call Func_801a1 + call SafelyCopyBGMapFromSRAMToVRAM farcall Func_c3ff ld a, [wCurMap] cp OVERWORLD_MAP @@ -20,7 +20,7 @@ Func_80028: ; 80028 (20:4028) ld bc, $0000 call LoadTilemap_ToSRAM farcall Func_c9c7 - call Func_801a1 + call SafelyCopyBGMapFromSRAMToVRAM farcall Func_c3ee ret ; 0x8003d @@ -287,18 +287,21 @@ CopyBGDataToVRAMOrSRAM: ; 8016e (20:416e) pop hl ret -Func_801a1: ; 801a1 (20:41a1) +; safely copies $20 bytes at a time +; sBGMap0 -> v0BGMap0 +; sBGMap1 -> v0BGMap1 (if in CGB) +SafelyCopyBGMapFromSRAMToVRAM: ; 801a1 (20:41a1) push hl push bc push de ldh a, [hBankSRAM] push af - ld a, $1 + ld a, BANK("SRAM1") call BankswitchSRAM ld hl, sBGMap0 ld de, v0BGMap0 ld c, $20 -.asm_801b4 +.loop push bc push hl push de @@ -306,30 +309,30 @@ Func_801a1: ; 801a1 (20:41a1) call SafeCopyDataHLtoDE ld a, [wConsole] cp CONSOLE_CGB - jr nz, .asm_801d6 + jr nz, .skip_vram1 pop de pop hl push hl push de - ld bc, $0400 + ld bc, sBGMap1 - sBGMap0 ; $400 add hl, bc call BankswitchVRAM1 ld b, $20 call SafeCopyDataHLtoDE call BankswitchVRAM0 +.skip_vram1 -.asm_801d6 pop hl - ld de, $0020 + ld de, $20 add hl, de ld e, l ld d, h pop hl - ld bc, $0020 + ld bc, $20 add hl, bc pop bc dec c - jr nz, .asm_801b4 + jr nz, .loop pop af call BankswitchSRAM call DisableSRAM -- cgit v1.2.3 From 0321ab4252c27cbb9077621a8965762faae5da83 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Thu, 18 Feb 2021 20:33:14 +0000 Subject: Label data, split map tiles and permissions --- src/constants/tilemap_constants.asm | 16 +- src/constants/tileset_constants.asm | 174 +++---- src/data/maps/map0.bin | Bin 258 -> 0 bytes src/data/maps/map1.bin | Bin 492 -> 0 bytes src/data/maps/map10.bin | Bin 189 -> 0 bytes src/data/maps/map100.bin | Bin 288 -> 0 bytes src/data/maps/map101.bin | Bin 354 -> 0 bytes src/data/maps/map102.bin | Bin 82 -> 0 bytes src/data/maps/map103.bin | Bin 129 -> 0 bytes src/data/maps/map104.bin | Bin 67 -> 0 bytes src/data/maps/map105.bin | Bin 95 -> 0 bytes src/data/maps/map11.bin | Bin 271 -> 0 bytes src/data/maps/map12.bin | Bin 197 -> 0 bytes src/data/maps/map13.bin | Bin 280 -> 0 bytes src/data/maps/map14.bin | Bin 197 -> 0 bytes src/data/maps/map15.bin | Bin 280 -> 0 bytes src/data/maps/map16.bin | Bin 197 -> 0 bytes src/data/maps/map17.bin | Bin 280 -> 0 bytes src/data/maps/map18.bin | Bin 197 -> 0 bytes src/data/maps/map19.bin | Bin 280 -> 0 bytes src/data/maps/map2.bin | Bin 278 -> 0 bytes src/data/maps/map20.bin | Bin 197 -> 0 bytes src/data/maps/map21.bin | Bin 280 -> 0 bytes src/data/maps/map22.bin | Bin 197 -> 0 bytes src/data/maps/map23.bin | Bin 280 -> 0 bytes src/data/maps/map24.bin | Bin 197 -> 0 bytes src/data/maps/map25.bin | Bin 280 -> 0 bytes src/data/maps/map26.bin | Bin 197 -> 0 bytes src/data/maps/map27.bin | Bin 280 -> 0 bytes src/data/maps/map28.bin | Bin 174 -> 0 bytes src/data/maps/map29.bin | Bin 254 -> 0 bytes src/data/maps/map3.bin | Bin 414 -> 0 bytes src/data/maps/map30.bin | Bin 284 -> 0 bytes src/data/maps/map31.bin | Bin 401 -> 0 bytes src/data/maps/map32.bin | Bin 172 -> 0 bytes src/data/maps/map33.bin | Bin 252 -> 0 bytes src/data/maps/map34.bin | Bin 324 -> 0 bytes src/data/maps/map35.bin | Bin 534 -> 0 bytes src/data/maps/map36.bin | Bin 387 -> 0 bytes src/data/maps/map37.bin | Bin 558 -> 0 bytes src/data/maps/map38.bin | Bin 371 -> 0 bytes src/data/maps/map39.bin | Bin 502 -> 0 bytes src/data/maps/map4.bin | 1 - src/data/maps/map40.bin | Bin 421 -> 0 bytes src/data/maps/map41.bin | Bin 662 -> 0 bytes src/data/maps/map42.bin | Bin 247 -> 0 bytes src/data/maps/map43.bin | Bin 394 -> 0 bytes src/data/maps/map44.bin | Bin 282 -> 0 bytes src/data/maps/map45.bin | Bin 404 -> 0 bytes src/data/maps/map46.bin | Bin 214 -> 0 bytes src/data/maps/map47.bin | Bin 383 -> 0 bytes src/data/maps/map48.bin | Bin 409 -> 0 bytes src/data/maps/map49.bin | Bin 594 -> 0 bytes src/data/maps/map5.bin | 1 - src/data/maps/map50.bin | Bin 191 -> 0 bytes src/data/maps/map51.bin | Bin 284 -> 0 bytes src/data/maps/map52.bin | Bin 13 -> 0 bytes src/data/maps/map53.bin | Bin 18 -> 0 bytes src/data/maps/map54.bin | Bin 389 -> 0 bytes src/data/maps/map55.bin | Bin 612 -> 0 bytes src/data/maps/map56.bin | Bin 7 -> 0 bytes src/data/maps/map57.bin | Bin 11 -> 0 bytes src/data/maps/map58.bin | Bin 269 -> 0 bytes src/data/maps/map59.bin | Bin 387 -> 0 bytes src/data/maps/map6.bin | Bin 192 -> 0 bytes src/data/maps/map60.bin | Bin 254 -> 0 bytes src/data/maps/map61.bin | Bin 249 -> 0 bytes src/data/maps/map62.bin | 1 - src/data/maps/map63.bin | 1 - src/data/maps/map64.bin | 1 - src/data/maps/map65.bin | 1 - src/data/maps/map66.bin | 1 - src/data/maps/map67.bin | 1 - src/data/maps/map68.bin | 1 - src/data/maps/map69.bin | 1 - src/data/maps/map7.bin | Bin 339 -> 0 bytes src/data/maps/map70.bin | Bin 190 -> 0 bytes src/data/maps/map71.bin | Bin 133 -> 0 bytes src/data/maps/map72.bin | Bin 218 -> 0 bytes src/data/maps/map73.bin | Bin 151 -> 0 bytes src/data/maps/map74.bin | Bin 209 -> 0 bytes src/data/maps/map75.bin | Bin 141 -> 0 bytes src/data/maps/map76.bin | 1 - src/data/maps/map77.bin | Bin 129 -> 0 bytes src/data/maps/map78.bin | 1 - src/data/maps/map79.bin | Bin 127 -> 0 bytes src/data/maps/map8.bin | 1 - src/data/maps/map80.bin | 1 - src/data/maps/map81.bin | Bin 124 -> 0 bytes src/data/maps/map82.bin | 1 - src/data/maps/map83.bin | Bin 121 -> 0 bytes src/data/maps/map84.bin | 1 - src/data/maps/map85.bin | Bin 158 -> 0 bytes src/data/maps/map86.bin | 1 - src/data/maps/map87.bin | Bin 150 -> 0 bytes src/data/maps/map88.bin | 1 - src/data/maps/map89.bin | Bin 141 -> 0 bytes src/data/maps/map9.bin | 1 - src/data/maps/map90.bin | Bin 144 -> 0 bytes src/data/maps/map91.bin | Bin 185 -> 0 bytes src/data/maps/map92.bin | Bin 137 -> 0 bytes src/data/maps/map93.bin | Bin 163 -> 0 bytes src/data/maps/map94.bin | Bin 138 -> 0 bytes src/data/maps/map95.bin | Bin 337 -> 0 bytes src/data/maps/map96.bin | Bin 493 -> 0 bytes src/data/maps/map97.bin | 2 - src/data/maps/map98.bin | 1 - src/data/maps/map99.bin | 1 - src/data/maps/permissions/challenge_hall.bin | Bin 0 -> 47 bytes src/data/maps/permissions/challenge_hall_cgb.bin | Bin 0 -> 47 bytes .../maps/permissions/challenge_hall_entrance.bin | Bin 0 -> 20 bytes .../permissions/challenge_hall_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/club_lobby.bin | Bin 0 -> 28 bytes src/data/maps/permissions/club_lobby_cgb.bin | Bin 0 -> 28 bytes src/data/maps/permissions/deck_machine_room.bin | Bin 0 -> 24 bytes .../maps/permissions/deck_machine_room_cgb.bin | Bin 0 -> 24 bytes src/data/maps/permissions/fighting_club.bin | Bin 0 -> 17 bytes src/data/maps/permissions/fighting_club_cgb.bin | Bin 0 -> 17 bytes .../maps/permissions/fighting_club_entrance.bin | Bin 0 -> 20 bytes .../permissions/fighting_club_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/fire_club.bin | Bin 0 -> 28 bytes src/data/maps/permissions/fire_club_cgb.bin | Bin 0 -> 28 bytes src/data/maps/permissions/fire_club_entrance.bin | Bin 0 -> 20 bytes .../maps/permissions/fire_club_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/grass_club.bin | Bin 0 -> 36 bytes src/data/maps/permissions/grass_club_cgb.bin | Bin 0 -> 36 bytes src/data/maps/permissions/grass_club_entrance.bin | Bin 0 -> 20 bytes .../maps/permissions/grass_club_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/hall_of_honor.bin | Bin 0 -> 24 bytes src/data/maps/permissions/hall_of_honor_cgb.bin | Bin 0 -> 24 bytes src/data/maps/permissions/ishihara.bin | Bin 0 -> 20 bytes src/data/maps/permissions/ishihara_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/lightning_club.bin | Bin 0 -> 34 bytes src/data/maps/permissions/lightning_club_cgb.bin | Bin 0 -> 34 bytes .../maps/permissions/lightning_club_entrance.bin | Bin 0 -> 20 bytes .../permissions/lightning_club_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/mason_laboratory.bin | Bin 0 -> 29 bytes src/data/maps/permissions/mason_laboratory_cgb.bin | Bin 0 -> 29 bytes src/data/maps/permissions/pokemon_dome.bin | Bin 0 -> 33 bytes src/data/maps/permissions/pokemon_dome_cgb.bin | Bin 0 -> 33 bytes .../maps/permissions/pokemon_dome_entrance.bin | Bin 0 -> 20 bytes .../maps/permissions/pokemon_dome_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/psychic_club.bin | Bin 0 -> 31 bytes src/data/maps/permissions/psychic_club_cgb.bin | Bin 0 -> 31 bytes .../maps/permissions/psychic_club_entrance.bin | Bin 0 -> 20 bytes .../maps/permissions/psychic_club_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/rock_club.bin | Bin 0 -> 33 bytes src/data/maps/permissions/rock_club_cgb.bin | Bin 0 -> 33 bytes src/data/maps/permissions/rock_club_entrance.bin | Bin 0 -> 20 bytes .../maps/permissions/rock_club_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/science_club.bin | Bin 0 -> 31 bytes src/data/maps/permissions/science_club_cgb.bin | Bin 0 -> 31 bytes .../maps/permissions/science_club_entrance.bin | Bin 0 -> 20 bytes .../maps/permissions/science_club_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/permissions/unknown1.bin | 1 + src/data/maps/permissions/unknown1_cgb.bin | 1 + src/data/maps/permissions/unknown_2.bin | 1 + src/data/maps/permissions/unknown_2_cgb.bin | 1 + src/data/maps/permissions/unknown_3.bin | Bin 0 -> 3 bytes src/data/maps/permissions/unknown_3_cgb.bin | Bin 0 -> 3 bytes src/data/maps/permissions/unknown_4.bin | Bin 0 -> 3 bytes src/data/maps/permissions/unknown_4_cgb.bin | Bin 0 -> 3 bytes src/data/maps/permissions/water_club.bin | Bin 0 -> 36 bytes src/data/maps/permissions/water_club_cgb.bin | Bin 0 -> 36 bytes src/data/maps/permissions/water_club_entrance.bin | Bin 0 -> 20 bytes .../maps/permissions/water_club_entrance_cgb.bin | Bin 0 -> 20 bytes src/data/maps/tiles/aerodactyl_intro.bin | 1 + src/data/maps/tiles/aerodactyl_intro_cgb.bin | Bin 0 -> 141 bytes src/data/maps/tiles/card_pop.bin | Bin 0 -> 249 bytes src/data/maps/tiles/card_pop_cgb.bin | Bin 0 -> 254 bytes src/data/maps/tiles/challenge_hall.bin | Bin 0 -> 362 bytes src/data/maps/tiles/challenge_hall_cgb.bin | Bin 0 -> 547 bytes src/data/maps/tiles/challenge_hall_entrance.bin | 1 + .../maps/tiles/challenge_hall_entrance_cgb.bin | Bin 0 -> 234 bytes src/data/maps/tiles/charizard_intro.bin | 1 + src/data/maps/tiles/charizard_intro_cgb.bin | Bin 0 -> 158 bytes src/data/maps/tiles/club_lobby.bin | Bin 0 -> 256 bytes src/data/maps/tiles/club_lobby_cgb.bin | 1 + src/data/maps/tiles/colosseum.bin | 1 + src/data/maps/tiles/colosseum_cgb.bin | Bin 0 -> 129 bytes src/data/maps/tiles/companies.bin | Bin 0 -> 95 bytes src/data/maps/tiles/copyright.bin | Bin 0 -> 82 bytes src/data/maps/tiles/copyright_cgb.bin | Bin 0 -> 129 bytes src/data/maps/tiles/deck_machine_room.bin | Bin 0 -> 168 bytes src/data/maps/tiles/deck_machine_room_cgb.bin | Bin 0 -> 315 bytes src/data/maps/tiles/evolution.bin | 1 + src/data/maps/tiles/evolution_cgb.bin | Bin 0 -> 127 bytes src/data/maps/tiles/fighting_club.bin | Bin 0 -> 155 bytes src/data/maps/tiles/fighting_club_cgb.bin | Bin 0 -> 235 bytes src/data/maps/tiles/fighting_club_entrance.bin | Bin 0 -> 177 bytes src/data/maps/tiles/fighting_club_entrance_cgb.bin | Bin 0 -> 260 bytes src/data/maps/tiles/fighting_medal.bin | 1 + src/data/maps/tiles/fire_club.bin | Bin 0 -> 186 bytes src/data/maps/tiles/fire_club_cgb.bin | Bin 0 -> 355 bytes src/data/maps/tiles/fire_club_entrance.bin | Bin 0 -> 177 bytes src/data/maps/tiles/fire_club_entrance_cgb.bin | Bin 0 -> 260 bytes src/data/maps/tiles/fire_medal.bin | 1 + src/data/maps/tiles/gameboy_link.bin | Bin 0 -> 133 bytes src/data/maps/tiles/gameboy_link_cgb.bin | Bin 0 -> 190 bytes src/data/maps/tiles/gameboy_link_connecting.bin | Bin 0 -> 151 bytes .../maps/tiles/gameboy_link_connecting_cgb.bin | Bin 0 -> 218 bytes src/data/maps/tiles/gameboy_printer.bin | Bin 0 -> 141 bytes src/data/maps/tiles/gameboy_printer_cgb.bin | Bin 0 -> 209 bytes src/data/maps/tiles/grass_club.bin | Bin 0 -> 385 bytes src/data/maps/tiles/grass_club_cgb.bin | Bin 0 -> 626 bytes src/data/maps/tiles/grass_club_entrance.bin | Bin 0 -> 177 bytes src/data/maps/tiles/grass_club_entrance_cgb.bin | Bin 0 -> 260 bytes src/data/maps/tiles/grass_medal.bin | 1 + src/data/maps/tiles/hall_of_honor.bin | Bin 0 -> 245 bytes src/data/maps/tiles/hall_of_honor_cgb.bin | Bin 0 -> 363 bytes src/data/maps/tiles/ishihara.bin | Bin 0 -> 169 bytes src/data/maps/tiles/ishihara_cgb.bin | Bin 0 -> 251 bytes src/data/maps/tiles/japanese_title_screen.bin | Bin 0 -> 144 bytes src/data/maps/tiles/japanese_title_screen_2.bin | Bin 0 -> 337 bytes .../maps/tiles/japanese_title_screen_2_cgb.bin | Bin 0 -> 493 bytes src/data/maps/tiles/japanese_title_screen_cgb.bin | Bin 0 -> 185 bytes src/data/maps/tiles/laboratory.bin | 1 + src/data/maps/tiles/laboratory_cgb.bin | Bin 0 -> 121 bytes src/data/maps/tiles/lightning_club.bin | Bin 0 -> 337 bytes src/data/maps/tiles/lightning_club_cgb.bin | Bin 0 -> 468 bytes src/data/maps/tiles/lightning_club_entrance.bin | Bin 0 -> 177 bytes .../maps/tiles/lightning_club_entrance_cgb.bin | Bin 0 -> 260 bytes src/data/maps/tiles/lightning_medal.bin | 1 + src/data/maps/tiles/mason_laboratory.bin | Bin 0 -> 249 bytes src/data/maps/tiles/mason_laboratory_cgb.bin | Bin 0 -> 385 bytes src/data/maps/tiles/mystery.bin | 1 + src/data/maps/tiles/mystery_cgb.bin | Bin 0 -> 124 bytes src/data/maps/tiles/nintendo.bin | Bin 0 -> 67 bytes src/data/maps/tiles/opponent.bin | 1 + src/data/maps/tiles/overworld_map.bin | Bin 0 -> 258 bytes src/data/maps/tiles/overworld_map_cgb.bin | Bin 0 -> 492 bytes src/data/maps/tiles/player.bin | 1 + src/data/maps/tiles/pokemon_dome.bin | Bin 0 -> 356 bytes src/data/maps/tiles/pokemon_dome_cgb.bin | Bin 0 -> 579 bytes src/data/maps/tiles/pokemon_dome_entrance.bin | Bin 0 -> 171 bytes src/data/maps/tiles/pokemon_dome_entrance_cgb.bin | Bin 0 -> 264 bytes src/data/maps/tiles/psychic_club.bin | Bin 0 -> 216 bytes src/data/maps/tiles/psychic_club_cgb.bin | Bin 0 -> 363 bytes src/data/maps/tiles/psychic_club_entrance.bin | Bin 0 -> 177 bytes src/data/maps/tiles/psychic_club_entrance_cgb.bin | Bin 0 -> 260 bytes src/data/maps/tiles/psychic_medal.bin | 1 + src/data/maps/tiles/rock_club.bin | Bin 0 -> 291 bytes src/data/maps/tiles/rock_club_cgb.bin | Bin 0 -> 501 bytes src/data/maps/tiles/rock_club_entrance.bin | Bin 0 -> 177 bytes src/data/maps/tiles/rock_club_entrance_cgb.bin | Bin 0 -> 260 bytes src/data/maps/tiles/rock_medal.bin | 1 + src/data/maps/tiles/science_club.bin | Bin 0 -> 251 bytes src/data/maps/tiles/science_club_cgb.bin | Bin 0 -> 373 bytes src/data/maps/tiles/science_club_entrance.bin | Bin 0 -> 177 bytes src/data/maps/tiles/science_club_entrance_cgb.bin | Bin 0 -> 260 bytes src/data/maps/tiles/science_medal.bin | 1 + src/data/maps/tiles/scyther_intro.bin | 1 + src/data/maps/tiles/scyther_intro_cgb.bin | Bin 0 -> 150 bytes src/data/maps/tiles/solid_tiles_1.bin | Bin 0 -> 137 bytes src/data/maps/tiles/solid_tiles_2.bin | Bin 0 -> 163 bytes src/data/maps/tiles/solid_tiles_3.bin | Bin 0 -> 138 bytes src/data/maps/tiles/solid_tiles_4.bin | 2 + src/data/maps/tiles/title_screen.bin | Bin 0 -> 288 bytes src/data/maps/tiles/title_screen_cgb.bin | Bin 0 -> 354 bytes src/data/maps/tiles/unknown1.bin | 1 + src/data/maps/tiles/unknown1_cgb.bin | 1 + src/data/maps/tiles/unknown_2.bin | 1 + src/data/maps/tiles/unknown_2_cgb.bin | 1 + src/data/maps/tiles/unknown_3.bin | Bin 0 -> 10 bytes src/data/maps/tiles/unknown_3_cgb.bin | Bin 0 -> 15 bytes src/data/maps/tiles/unknown_4.bin | 1 + src/data/maps/tiles/unknown_4_cgb.bin | 1 + src/data/maps/tiles/water_club.bin | Bin 0 -> 351 bytes src/data/maps/tiles/water_club_cgb.bin | Bin 0 -> 522 bytes src/data/maps/tiles/water_club_entrance.bin | Bin 0 -> 177 bytes src/data/maps/tiles/water_club_entrance_cgb.bin | Bin 0 -> 260 bytes src/data/maps/tiles/water_medal.bin | 1 + src/engine/bank20.asm | 543 +++++++++++---------- src/gfx.asm | 380 +++++++------- 274 files changed, 592 insertions(+), 575 deletions(-) delete mode 100644 src/data/maps/map0.bin delete mode 100644 src/data/maps/map1.bin delete mode 100644 src/data/maps/map10.bin delete mode 100644 src/data/maps/map100.bin delete mode 100644 src/data/maps/map101.bin delete mode 100644 src/data/maps/map102.bin delete mode 100644 src/data/maps/map103.bin delete mode 100644 src/data/maps/map104.bin delete mode 100644 src/data/maps/map105.bin delete mode 100644 src/data/maps/map11.bin delete mode 100644 src/data/maps/map12.bin delete mode 100644 src/data/maps/map13.bin delete mode 100644 src/data/maps/map14.bin delete mode 100644 src/data/maps/map15.bin delete mode 100644 src/data/maps/map16.bin delete mode 100644 src/data/maps/map17.bin delete mode 100644 src/data/maps/map18.bin delete mode 100644 src/data/maps/map19.bin delete mode 100644 src/data/maps/map2.bin delete mode 100644 src/data/maps/map20.bin delete mode 100644 src/data/maps/map21.bin delete mode 100644 src/data/maps/map22.bin delete mode 100644 src/data/maps/map23.bin delete mode 100644 src/data/maps/map24.bin delete mode 100644 src/data/maps/map25.bin delete mode 100644 src/data/maps/map26.bin delete mode 100644 src/data/maps/map27.bin delete mode 100644 src/data/maps/map28.bin delete mode 100644 src/data/maps/map29.bin delete mode 100644 src/data/maps/map3.bin delete mode 100644 src/data/maps/map30.bin delete mode 100644 src/data/maps/map31.bin delete mode 100644 src/data/maps/map32.bin delete mode 100644 src/data/maps/map33.bin delete mode 100644 src/data/maps/map34.bin delete mode 100644 src/data/maps/map35.bin delete mode 100644 src/data/maps/map36.bin delete mode 100644 src/data/maps/map37.bin delete mode 100644 src/data/maps/map38.bin delete mode 100644 src/data/maps/map39.bin delete mode 100644 src/data/maps/map4.bin delete mode 100644 src/data/maps/map40.bin delete mode 100644 src/data/maps/map41.bin delete mode 100644 src/data/maps/map42.bin delete mode 100644 src/data/maps/map43.bin delete mode 100644 src/data/maps/map44.bin delete mode 100644 src/data/maps/map45.bin delete mode 100644 src/data/maps/map46.bin delete mode 100644 src/data/maps/map47.bin delete mode 100644 src/data/maps/map48.bin delete mode 100644 src/data/maps/map49.bin delete mode 100644 src/data/maps/map5.bin delete mode 100644 src/data/maps/map50.bin delete mode 100644 src/data/maps/map51.bin delete mode 100644 src/data/maps/map52.bin delete mode 100644 src/data/maps/map53.bin delete mode 100644 src/data/maps/map54.bin delete mode 100644 src/data/maps/map55.bin delete mode 100644 src/data/maps/map56.bin delete mode 100644 src/data/maps/map57.bin delete mode 100644 src/data/maps/map58.bin delete mode 100644 src/data/maps/map59.bin delete mode 100644 src/data/maps/map6.bin delete mode 100644 src/data/maps/map60.bin delete mode 100644 src/data/maps/map61.bin delete mode 100644 src/data/maps/map62.bin delete mode 100644 src/data/maps/map63.bin delete mode 100644 src/data/maps/map64.bin delete mode 100644 src/data/maps/map65.bin delete mode 100644 src/data/maps/map66.bin delete mode 100644 src/data/maps/map67.bin delete mode 100644 src/data/maps/map68.bin delete mode 100644 src/data/maps/map69.bin delete mode 100644 src/data/maps/map7.bin delete mode 100644 src/data/maps/map70.bin delete mode 100644 src/data/maps/map71.bin delete mode 100644 src/data/maps/map72.bin delete mode 100644 src/data/maps/map73.bin delete mode 100644 src/data/maps/map74.bin delete mode 100644 src/data/maps/map75.bin delete mode 100644 src/data/maps/map76.bin delete mode 100644 src/data/maps/map77.bin delete mode 100644 src/data/maps/map78.bin delete mode 100644 src/data/maps/map79.bin delete mode 100644 src/data/maps/map8.bin delete mode 100644 src/data/maps/map80.bin delete mode 100644 src/data/maps/map81.bin delete mode 100644 src/data/maps/map82.bin delete mode 100644 src/data/maps/map83.bin delete mode 100644 src/data/maps/map84.bin delete mode 100644 src/data/maps/map85.bin delete mode 100644 src/data/maps/map86.bin delete mode 100644 src/data/maps/map87.bin delete mode 100644 src/data/maps/map88.bin delete mode 100644 src/data/maps/map89.bin delete mode 100644 src/data/maps/map9.bin delete mode 100644 src/data/maps/map90.bin delete mode 100644 src/data/maps/map91.bin delete mode 100644 src/data/maps/map92.bin delete mode 100644 src/data/maps/map93.bin delete mode 100644 src/data/maps/map94.bin delete mode 100644 src/data/maps/map95.bin delete mode 100644 src/data/maps/map96.bin delete mode 100644 src/data/maps/map97.bin delete mode 100644 src/data/maps/map98.bin delete mode 100644 src/data/maps/map99.bin create mode 100644 src/data/maps/permissions/challenge_hall.bin create mode 100644 src/data/maps/permissions/challenge_hall_cgb.bin create mode 100644 src/data/maps/permissions/challenge_hall_entrance.bin create mode 100644 src/data/maps/permissions/challenge_hall_entrance_cgb.bin create mode 100644 src/data/maps/permissions/club_lobby.bin create mode 100644 src/data/maps/permissions/club_lobby_cgb.bin create mode 100644 src/data/maps/permissions/deck_machine_room.bin create mode 100644 src/data/maps/permissions/deck_machine_room_cgb.bin create mode 100644 src/data/maps/permissions/fighting_club.bin create mode 100644 src/data/maps/permissions/fighting_club_cgb.bin create mode 100644 src/data/maps/permissions/fighting_club_entrance.bin create mode 100644 src/data/maps/permissions/fighting_club_entrance_cgb.bin create mode 100644 src/data/maps/permissions/fire_club.bin create mode 100644 src/data/maps/permissions/fire_club_cgb.bin create mode 100644 src/data/maps/permissions/fire_club_entrance.bin create mode 100644 src/data/maps/permissions/fire_club_entrance_cgb.bin create mode 100644 src/data/maps/permissions/grass_club.bin create mode 100644 src/data/maps/permissions/grass_club_cgb.bin create mode 100644 src/data/maps/permissions/grass_club_entrance.bin create mode 100644 src/data/maps/permissions/grass_club_entrance_cgb.bin create mode 100644 src/data/maps/permissions/hall_of_honor.bin create mode 100644 src/data/maps/permissions/hall_of_honor_cgb.bin create mode 100644 src/data/maps/permissions/ishihara.bin create mode 100644 src/data/maps/permissions/ishihara_cgb.bin create mode 100644 src/data/maps/permissions/lightning_club.bin create mode 100644 src/data/maps/permissions/lightning_club_cgb.bin create mode 100644 src/data/maps/permissions/lightning_club_entrance.bin create mode 100644 src/data/maps/permissions/lightning_club_entrance_cgb.bin create mode 100644 src/data/maps/permissions/mason_laboratory.bin create mode 100644 src/data/maps/permissions/mason_laboratory_cgb.bin create mode 100644 src/data/maps/permissions/pokemon_dome.bin create mode 100644 src/data/maps/permissions/pokemon_dome_cgb.bin create mode 100644 src/data/maps/permissions/pokemon_dome_entrance.bin create mode 100644 src/data/maps/permissions/pokemon_dome_entrance_cgb.bin create mode 100644 src/data/maps/permissions/psychic_club.bin create mode 100644 src/data/maps/permissions/psychic_club_cgb.bin create mode 100644 src/data/maps/permissions/psychic_club_entrance.bin create mode 100644 src/data/maps/permissions/psychic_club_entrance_cgb.bin create mode 100644 src/data/maps/permissions/rock_club.bin create mode 100644 src/data/maps/permissions/rock_club_cgb.bin create mode 100644 src/data/maps/permissions/rock_club_entrance.bin create mode 100644 src/data/maps/permissions/rock_club_entrance_cgb.bin create mode 100644 src/data/maps/permissions/science_club.bin create mode 100644 src/data/maps/permissions/science_club_cgb.bin create mode 100644 src/data/maps/permissions/science_club_entrance.bin create mode 100644 src/data/maps/permissions/science_club_entrance_cgb.bin create mode 100644 src/data/maps/permissions/unknown1.bin create mode 100644 src/data/maps/permissions/unknown1_cgb.bin create mode 100644 src/data/maps/permissions/unknown_2.bin create mode 100644 src/data/maps/permissions/unknown_2_cgb.bin create mode 100644 src/data/maps/permissions/unknown_3.bin create mode 100644 src/data/maps/permissions/unknown_3_cgb.bin create mode 100644 src/data/maps/permissions/unknown_4.bin create mode 100644 src/data/maps/permissions/unknown_4_cgb.bin create mode 100644 src/data/maps/permissions/water_club.bin create mode 100644 src/data/maps/permissions/water_club_cgb.bin create mode 100644 src/data/maps/permissions/water_club_entrance.bin create mode 100644 src/data/maps/permissions/water_club_entrance_cgb.bin create mode 100644 src/data/maps/tiles/aerodactyl_intro.bin create mode 100644 src/data/maps/tiles/aerodactyl_intro_cgb.bin create mode 100644 src/data/maps/tiles/card_pop.bin create mode 100644 src/data/maps/tiles/card_pop_cgb.bin create mode 100644 src/data/maps/tiles/challenge_hall.bin create mode 100644 src/data/maps/tiles/challenge_hall_cgb.bin create mode 100644 src/data/maps/tiles/challenge_hall_entrance.bin create mode 100644 src/data/maps/tiles/challenge_hall_entrance_cgb.bin create mode 100644 src/data/maps/tiles/charizard_intro.bin create mode 100644 src/data/maps/tiles/charizard_intro_cgb.bin create mode 100644 src/data/maps/tiles/club_lobby.bin create mode 100644 src/data/maps/tiles/club_lobby_cgb.bin create mode 100644 src/data/maps/tiles/colosseum.bin create mode 100644 src/data/maps/tiles/colosseum_cgb.bin create mode 100644 src/data/maps/tiles/companies.bin create mode 100644 src/data/maps/tiles/copyright.bin create mode 100644 src/data/maps/tiles/copyright_cgb.bin create mode 100644 src/data/maps/tiles/deck_machine_room.bin create mode 100644 src/data/maps/tiles/deck_machine_room_cgb.bin create mode 100644 src/data/maps/tiles/evolution.bin create mode 100644 src/data/maps/tiles/evolution_cgb.bin create mode 100644 src/data/maps/tiles/fighting_club.bin create mode 100644 src/data/maps/tiles/fighting_club_cgb.bin create mode 100644 src/data/maps/tiles/fighting_club_entrance.bin create mode 100644 src/data/maps/tiles/fighting_club_entrance_cgb.bin create mode 100644 src/data/maps/tiles/fighting_medal.bin create mode 100644 src/data/maps/tiles/fire_club.bin create mode 100644 src/data/maps/tiles/fire_club_cgb.bin create mode 100644 src/data/maps/tiles/fire_club_entrance.bin create mode 100644 src/data/maps/tiles/fire_club_entrance_cgb.bin create mode 100644 src/data/maps/tiles/fire_medal.bin create mode 100644 src/data/maps/tiles/gameboy_link.bin create mode 100644 src/data/maps/tiles/gameboy_link_cgb.bin create mode 100644 src/data/maps/tiles/gameboy_link_connecting.bin create mode 100644 src/data/maps/tiles/gameboy_link_connecting_cgb.bin create mode 100644 src/data/maps/tiles/gameboy_printer.bin create mode 100644 src/data/maps/tiles/gameboy_printer_cgb.bin create mode 100644 src/data/maps/tiles/grass_club.bin create mode 100644 src/data/maps/tiles/grass_club_cgb.bin create mode 100644 src/data/maps/tiles/grass_club_entrance.bin create mode 100644 src/data/maps/tiles/grass_club_entrance_cgb.bin create mode 100644 src/data/maps/tiles/grass_medal.bin create mode 100644 src/data/maps/tiles/hall_of_honor.bin create mode 100644 src/data/maps/tiles/hall_of_honor_cgb.bin create mode 100644 src/data/maps/tiles/ishihara.bin create mode 100644 src/data/maps/tiles/ishihara_cgb.bin create mode 100644 src/data/maps/tiles/japanese_title_screen.bin create mode 100644 src/data/maps/tiles/japanese_title_screen_2.bin create mode 100644 src/data/maps/tiles/japanese_title_screen_2_cgb.bin create mode 100644 src/data/maps/tiles/japanese_title_screen_cgb.bin create mode 100644 src/data/maps/tiles/laboratory.bin create mode 100644 src/data/maps/tiles/laboratory_cgb.bin create mode 100644 src/data/maps/tiles/lightning_club.bin create mode 100644 src/data/maps/tiles/lightning_club_cgb.bin create mode 100644 src/data/maps/tiles/lightning_club_entrance.bin create mode 100644 src/data/maps/tiles/lightning_club_entrance_cgb.bin create mode 100644 src/data/maps/tiles/lightning_medal.bin create mode 100644 src/data/maps/tiles/mason_laboratory.bin create mode 100644 src/data/maps/tiles/mason_laboratory_cgb.bin create mode 100644 src/data/maps/tiles/mystery.bin create mode 100644 src/data/maps/tiles/mystery_cgb.bin create mode 100644 src/data/maps/tiles/nintendo.bin create mode 100644 src/data/maps/tiles/opponent.bin create mode 100644 src/data/maps/tiles/overworld_map.bin create mode 100644 src/data/maps/tiles/overworld_map_cgb.bin create mode 100644 src/data/maps/tiles/player.bin create mode 100644 src/data/maps/tiles/pokemon_dome.bin create mode 100644 src/data/maps/tiles/pokemon_dome_cgb.bin create mode 100644 src/data/maps/tiles/pokemon_dome_entrance.bin create mode 100644 src/data/maps/tiles/pokemon_dome_entrance_cgb.bin create mode 100644 src/data/maps/tiles/psychic_club.bin create mode 100644 src/data/maps/tiles/psychic_club_cgb.bin create mode 100644 src/data/maps/tiles/psychic_club_entrance.bin create mode 100644 src/data/maps/tiles/psychic_club_entrance_cgb.bin create mode 100644 src/data/maps/tiles/psychic_medal.bin create mode 100644 src/data/maps/tiles/rock_club.bin create mode 100644 src/data/maps/tiles/rock_club_cgb.bin create mode 100644 src/data/maps/tiles/rock_club_entrance.bin create mode 100644 src/data/maps/tiles/rock_club_entrance_cgb.bin create mode 100644 src/data/maps/tiles/rock_medal.bin create mode 100644 src/data/maps/tiles/science_club.bin create mode 100644 src/data/maps/tiles/science_club_cgb.bin create mode 100644 src/data/maps/tiles/science_club_entrance.bin create mode 100644 src/data/maps/tiles/science_club_entrance_cgb.bin create mode 100644 src/data/maps/tiles/science_medal.bin create mode 100644 src/data/maps/tiles/scyther_intro.bin create mode 100644 src/data/maps/tiles/scyther_intro_cgb.bin create mode 100644 src/data/maps/tiles/solid_tiles_1.bin create mode 100644 src/data/maps/tiles/solid_tiles_2.bin create mode 100644 src/data/maps/tiles/solid_tiles_3.bin create mode 100644 src/data/maps/tiles/solid_tiles_4.bin create mode 100644 src/data/maps/tiles/title_screen.bin create mode 100644 src/data/maps/tiles/title_screen_cgb.bin create mode 100644 src/data/maps/tiles/unknown1.bin create mode 100644 src/data/maps/tiles/unknown1_cgb.bin create mode 100644 src/data/maps/tiles/unknown_2.bin create mode 100644 src/data/maps/tiles/unknown_2_cgb.bin create mode 100644 src/data/maps/tiles/unknown_3.bin create mode 100644 src/data/maps/tiles/unknown_3_cgb.bin create mode 100644 src/data/maps/tiles/unknown_4.bin create mode 100644 src/data/maps/tiles/unknown_4_cgb.bin create mode 100644 src/data/maps/tiles/water_club.bin create mode 100644 src/data/maps/tiles/water_club_cgb.bin create mode 100644 src/data/maps/tiles/water_club_entrance.bin create mode 100644 src/data/maps/tiles/water_club_entrance_cgb.bin create mode 100644 src/data/maps/tiles/water_medal.bin (limited to 'src') diff --git a/src/constants/tilemap_constants.asm b/src/constants/tilemap_constants.asm index 19761fa..d179584 100644 --- a/src/constants/tilemap_constants.asm +++ b/src/constants/tilemap_constants.asm @@ -3,12 +3,12 @@ const TILEMAP_OVERWORLD_MAP_CGB ; $01 const TILEMAP_MASON_LABORATORY ; $02 const TILEMAP_MASON_LABORATORY_CGB ; $03 - const TILEMAP_UNUSED_1 ; $04 - const TILEMAP_UNUSED_2 ; $05 + const TILEMAP_UNKNOWN_1 ; $04 + const TILEMAP_UNKNOWN_1_CGB ; $05 const TILEMAP_DECK_MACHINE_ROOM ; $06 const TILEMAP_DECK_MACHINE_ROOM_CGB ; $07 - const TILEMAP_UNUSED_3 ; $08 - const TILEMAP_UNUSED_4 ; $09 + const TILEMAP_UNKNOWN_2 ; $08 + const TILEMAP_UNKNOWN_2_CGB ; $09 const TILEMAP_ISHIHARA ; $0a const TILEMAP_ISHIHARA_CGB ; $0b const TILEMAP_FIGHTING_CLUB_ENTRANCE ; $0c @@ -51,12 +51,12 @@ const TILEMAP_CHALLENGE_HALL_CGB ; $31 const TILEMAP_POKEMON_DOME_ENTRANCE ; $32 const TILEMAP_POKEMON_DOME_ENTRANCE_CGB ; $33 - const TILEMAP_UNUSED_5 ; $34 - const TILEMAP_UNUSED_6 ; $35 + const TILEMAP_UNKNOWN_3 ; $34 + const TILEMAP_UNKNOWN_3_CGB ; $35 const TILEMAP_POKEMON_DOME ; $36 const TILEMAP_POKEMON_DOME_CGB ; $37 - const TILEMAP_UNUSED_7 ; $38 - const TILEMAP_UNUSED_8 ; $39 + const TILEMAP_UNKNOWN_4 ; $38 + const TILEMAP_UNKNOWN_4_CGB ; $39 const TILEMAP_HALL_OF_HONOR ; $3a const TILEMAP_HALL_OF_HONOR_CGB ; $3b const TILEMAP_CARD_POP_CGB ; $3c diff --git a/src/constants/tileset_constants.asm b/src/constants/tileset_constants.asm index 6319263..ecac689 100644 --- a/src/constants/tileset_constants.asm +++ b/src/constants/tileset_constants.asm @@ -1,88 +1,88 @@ const_def - const TILESET_OVERWORLD_MAP ; $00 - const TILESET_MASON_LABORATORY ; $01 - const TILESET_ISHIHARA ; $02 - const TILESET_CLUB_ENTRANCE ; $03 - const TILESET_CLUB_LOBBY ; $04 - const TILESET_FIGHTING_CLUB ; $05 - const TILESET_ROCK_CLUB ; $06 - const TILESET_WATER_CLUB ; $07 - const TILESET_LIGHTNING_CLUB ; $08 - const TILESET_GRASS_CLUB ; $09 - const TILESET_PSYCHIC_CLUB ; $0a - const TILESET_SCIENCE_CLUB ; $0b - const TILESET_FIRE_CLUB ; $0c - const TILESET_CHALLENGE_HALL ; $0d - const TILESET_POKEMON_DOME_ENTRANCE ; $0e - const TILESET_POKEMON_DOME ; $0f - const TILESET_HALL_OF_HONOR ; $10 - const TILESET_CARD_POP ; $11 - const TILESET_MEDAL ; $12 - const TILESET_GAMEBOY_LINK ; $13 - const TILESET_GAMEBOY_PRINTER ; $14 - const TILESET_COLOSSEUM_1 ; $15 - const TILESET_COLOSSEUM_2 ; $16 - const TILESET_EVOLUTION_1 ; $17 - const TILESET_EVOLUTION_2 ; $18 - const TILESET_MYSTERY_1 ; $19 - const TILESET_MYSTERY_2 ; $1a - const TILESET_LABORATORY_1 ; $1b - const TILESET_LABORATORY_2 ; $1c - const TILESET_CHARIZARD_INTRO_1 ; $1d - const TILESET_CHARIZARD_INTRO_2 ; $1e - const TILESET_SCYTHER_INTRO_1 ; $1f - const TILESET_SCYTHER_INTRO_2 ; $20 - const TILESET_AERODACTYL_INTRO_1 ; $21 - const TILESET_AERODACTYL_INTRO_2 ; $22 - const TILESET_TITLE_SCREEN_1 ; $23 - const TILESET_TITLE_SCREEN_2 ; $24 - const TILESET_SOLID_TILES_1 ; $25 - const TILESET_TITLE_SCREEN_3 ; $26 - const TILESET_TITLE_SCREEN_4 ; $27 - const TILESET_SOLID_TILES_2 ; $28 - const TILESET_PLAYER ; $29 - const TILESET_RONALD ; $2a - const TILESET_TITLE_SCREEN_5 ; $2b - const TILESET_TITLE_SCREEN_6 ; $2c - const TILESET_COPYRIGHT ; $2d - const TILESET_NINTENDO ; $2e - const TILESET_COMPANIES ; $2f - const TILESET_SAM ; $30 - const TILESET_IMAKUNI ; $31 - const TILESET_NIKKI ; $32 - const TILESET_RICK ; $33 - const TILESET_KEN ; $34 - const TILESET_AMY ; $35 - const TILESET_ISAAC ; $36 - const TILESET_MITCH ; $37 - const TILESET_GENE ; $38 - const TILESET_MURRAY ; $39 - const TILESET_COURTNEY ; $3a - const TILESET_STEVE ; $3b - const TILESET_JACK ; $3c - const TILESET_ROD ; $3d - const TILESET_JOSEPH ; $3e - const TILESET_DAVID ; $3f - const TILESET_ERIK ; $40 - const TILESET_JOHN ; $41 - const TILESET_ADAM ; $42 - const TILESET_JONATHAN ; $43 - const TILESET_JOSHUA ; $44 - const TILESET_NICHOLAS ; $45 - const TILESET_BRANDON ; $46 - const TILESET_MATTHEW ; $47 - const TILESET_RYAN ; $48 - const TILESET_ANDREW ; $49 - const TILESET_CHRIS ; $4a - const TILESET_MICHAEL ; $4b - const TILESET_DANIEL ; $4c - const TILESET_ROBERT ; $4d - const TILESET_BRITTANY ; $4e - const TILESET_KRISTIN ; $4f - const TILESET_HEATHER ; $50 - const TILESET_SARA ; $51 - const TILESET_AMANDA ; $52 - const TILESET_JENNIFER ; $53 - const TILESET_JESSICA ; $54 - const TILESET_STEPHANIE ; $55 - const TILESET_AARON ; $56 + const TILESET_OVERWORLD_MAP ; $00 + const TILESET_MASON_LABORATORY ; $01 + const TILESET_ISHIHARA ; $02 + const TILESET_CLUB_ENTRANCE ; $03 + const TILESET_CLUB_LOBBY ; $04 + const TILESET_FIGHTING_CLUB ; $05 + const TILESET_ROCK_CLUB ; $06 + const TILESET_WATER_CLUB ; $07 + const TILESET_LIGHTNING_CLUB ; $08 + const TILESET_GRASS_CLUB ; $09 + const TILESET_PSYCHIC_CLUB ; $0a + const TILESET_SCIENCE_CLUB ; $0b + const TILESET_FIRE_CLUB ; $0c + const TILESET_CHALLENGE_HALL ; $0d + const TILESET_POKEMON_DOME_ENTRANCE ; $0e + const TILESET_POKEMON_DOME ; $0f + const TILESET_HALL_OF_HONOR ; $10 + const TILESET_CARD_POP ; $11 + const TILESET_MEDAL ; $12 + const TILESET_GAMEBOY_LINK ; $13 + const TILESET_GAMEBOY_PRINTER ; $14 + const TILESET_COLOSSEUM_1 ; $15 + const TILESET_COLOSSEUM_2 ; $16 + const TILESET_EVOLUTION_1 ; $17 + const TILESET_EVOLUTION_2 ; $18 + const TILESET_MYSTERY_1 ; $19 + const TILESET_MYSTERY_2 ; $1a + const TILESET_LABORATORY_1 ; $1b + const TILESET_LABORATORY_2 ; $1c + const TILESET_CHARIZARD_INTRO_1 ; $1d + const TILESET_CHARIZARD_INTRO_2 ; $1e + const TILESET_SCYTHER_INTRO_1 ; $1f + const TILESET_SCYTHER_INTRO_2 ; $20 + const TILESET_AERODACTYL_INTRO_1 ; $21 + const TILESET_AERODACTYL_INTRO_2 ; $22 + const TILESET_JAPANESE_TITLE_SCREEN ; $23 + const TILESET_JAPANESE_TITLE_SCREEN_CGB ; $24 + const TILESET_SOLID_TILES_1 ; $25 + const TILESET_JAPANESE_TITLE_SCREEN_2 ; $26 + const TILESET_JAPANESE_TITLE_SCREEN_2_CGB ; $27 + const TILESET_SOLID_TILES_2 ; $28 + const TILESET_PLAYER ; $29 + const TILESET_RONALD ; $2a + const TILESET_TITLE_SCREEN ; $2b + const TILESET_TITLE_SCREEN_CGB ; $2c + const TILESET_COPYRIGHT ; $2d + const TILESET_NINTENDO ; $2e + const TILESET_COMPANIES ; $2f + const TILESET_SAM ; $30 + const TILESET_IMAKUNI ; $31 + const TILESET_NIKKI ; $32 + const TILESET_RICK ; $33 + const TILESET_KEN ; $34 + const TILESET_AMY ; $35 + const TILESET_ISAAC ; $36 + const TILESET_MITCH ; $37 + const TILESET_GENE ; $38 + const TILESET_MURRAY ; $39 + const TILESET_COURTNEY ; $3a + const TILESET_STEVE ; $3b + const TILESET_JACK ; $3c + const TILESET_ROD ; $3d + const TILESET_JOSEPH ; $3e + const TILESET_DAVID ; $3f + const TILESET_ERIK ; $40 + const TILESET_JOHN ; $41 + const TILESET_ADAM ; $42 + const TILESET_JONATHAN ; $43 + const TILESET_JOSHUA ; $44 + const TILESET_NICHOLAS ; $45 + const TILESET_BRANDON ; $46 + const TILESET_MATTHEW ; $47 + const TILESET_RYAN ; $48 + const TILESET_ANDREW ; $49 + const TILESET_CHRIS ; $4a + const TILESET_MICHAEL ; $4b + const TILESET_DANIEL ; $4c + const TILESET_ROBERT ; $4d + const TILESET_BRITTANY ; $4e + const TILESET_KRISTIN ; $4f + const TILESET_HEATHER ; $50 + const TILESET_SARA ; $51 + const TILESET_AMANDA ; $52 + const TILESET_JENNIFER ; $53 + const TILESET_JESSICA ; $54 + const TILESET_STEPHANIE ; $55 + const TILESET_AARON ; $56 diff --git a/src/data/maps/map0.bin b/src/data/maps/map0.bin deleted file mode 100644 index cf2a9ed..0000000 Binary files a/src/data/maps/map0.bin and /dev/null differ diff --git a/src/data/maps/map1.bin b/src/data/maps/map1.bin deleted file mode 100644 index 38543ff..0000000 Binary files a/src/data/maps/map1.bin and /dev/null differ diff --git a/src/data/maps/map10.bin b/src/data/maps/map10.bin deleted file mode 100644 index 570de49..0000000 Binary files a/src/data/maps/map10.bin and /dev/null differ diff --git a/src/data/maps/map100.bin b/src/data/maps/map100.bin deleted file mode 100644 index cc9e675..0000000 Binary files a/src/data/maps/map100.bin and /dev/null differ diff --git a/src/data/maps/map101.bin b/src/data/maps/map101.bin deleted file mode 100644 index 15ff322..0000000 Binary files a/src/data/maps/map101.bin and /dev/null differ diff --git a/src/data/maps/map102.bin b/src/data/maps/map102.bin deleted file mode 100644 index 0a7e308..0000000 Binary files a/src/data/maps/map102.bin and /dev/null differ diff --git a/src/data/maps/map103.bin b/src/data/maps/map103.bin deleted file mode 100644 index 68219ed..0000000 Binary files a/src/data/maps/map103.bin and /dev/null differ diff --git a/src/data/maps/map104.bin b/src/data/maps/map104.bin deleted file mode 100644 index b931d87..0000000 Binary files a/src/data/maps/map104.bin and /dev/null differ diff --git a/src/data/maps/map105.bin b/src/data/maps/map105.bin deleted file mode 100644 index 057d4e0..0000000 Binary files a/src/data/maps/map105.bin and /dev/null differ diff --git a/src/data/maps/map11.bin b/src/data/maps/map11.bin deleted file mode 100644 index 23e8c35..0000000 Binary files a/src/data/maps/map11.bin and /dev/null differ diff --git a/src/data/maps/map12.bin b/src/data/maps/map12.bin deleted file mode 100644 index 491cb07..0000000 Binary files a/src/data/maps/map12.bin and /dev/null differ diff --git a/src/data/maps/map13.bin b/src/data/maps/map13.bin deleted file mode 100644 index 69479ba..0000000 Binary files a/src/data/maps/map13.bin and /dev/null differ diff --git a/src/data/maps/map14.bin b/src/data/maps/map14.bin deleted file mode 100644 index aa1c6bc..0000000 Binary files a/src/data/maps/map14.bin and /dev/null differ diff --git a/src/data/maps/map15.bin b/src/data/maps/map15.bin deleted file mode 100644 index eb8fc6b..0000000 Binary files a/src/data/maps/map15.bin and /dev/null differ diff --git a/src/data/maps/map16.bin b/src/data/maps/map16.bin deleted file mode 100644 index 6725ce2..0000000 Binary files a/src/data/maps/map16.bin and /dev/null differ diff --git a/src/data/maps/map17.bin b/src/data/maps/map17.bin deleted file mode 100644 index 2202009..0000000 Binary files a/src/data/maps/map17.bin and /dev/null differ diff --git a/src/data/maps/map18.bin b/src/data/maps/map18.bin deleted file mode 100644 index 1b5f7e2..0000000 Binary files a/src/data/maps/map18.bin and /dev/null differ diff --git a/src/data/maps/map19.bin b/src/data/maps/map19.bin deleted file mode 100644 index 41fd5e3..0000000 Binary files a/src/data/maps/map19.bin and /dev/null differ diff --git a/src/data/maps/map2.bin b/src/data/maps/map2.bin deleted file mode 100644 index b575bb2..0000000 Binary files a/src/data/maps/map2.bin and /dev/null differ diff --git a/src/data/maps/map20.bin b/src/data/maps/map20.bin deleted file mode 100644 index 0454487..0000000 Binary files a/src/data/maps/map20.bin and /dev/null differ diff --git a/src/data/maps/map21.bin b/src/data/maps/map21.bin deleted file mode 100644 index 6e9c407..0000000 Binary files a/src/data/maps/map21.bin and /dev/null differ diff --git a/src/data/maps/map22.bin b/src/data/maps/map22.bin deleted file mode 100644 index c7951e0..0000000 Binary files a/src/data/maps/map22.bin and /dev/null differ diff --git a/src/data/maps/map23.bin b/src/data/maps/map23.bin deleted file mode 100644 index 9bef429..0000000 Binary files a/src/data/maps/map23.bin and /dev/null differ diff --git a/src/data/maps/map24.bin b/src/data/maps/map24.bin deleted file mode 100644 index c3bbf87..0000000 Binary files a/src/data/maps/map24.bin and /dev/null differ diff --git a/src/data/maps/map25.bin b/src/data/maps/map25.bin deleted file mode 100644 index 9b66ad4..0000000 Binary files a/src/data/maps/map25.bin and /dev/null differ diff --git a/src/data/maps/map26.bin b/src/data/maps/map26.bin deleted file mode 100644 index 5a37965..0000000 Binary files a/src/data/maps/map26.bin and /dev/null differ diff --git a/src/data/maps/map27.bin b/src/data/maps/map27.bin deleted file mode 100644 index f18ad28..0000000 Binary files a/src/data/maps/map27.bin and /dev/null differ diff --git a/src/data/maps/map28.bin b/src/data/maps/map28.bin deleted file mode 100644 index 557c897..0000000 Binary files a/src/data/maps/map28.bin and /dev/null differ diff --git a/src/data/maps/map29.bin b/src/data/maps/map29.bin deleted file mode 100644 index b70e041..0000000 Binary files a/src/data/maps/map29.bin and /dev/null differ diff --git a/src/data/maps/map3.bin b/src/data/maps/map3.bin deleted file mode 100644 index ceaa540..0000000 Binary files a/src/data/maps/map3.bin and /dev/null differ diff --git a/src/data/maps/map30.bin b/src/data/maps/map30.bin deleted file mode 100644 index ce1d02c..0000000 Binary files a/src/data/maps/map30.bin and /dev/null differ diff --git a/src/data/maps/map31.bin b/src/data/maps/map31.bin deleted file mode 100644 index d0e5fcd..0000000 Binary files a/src/data/maps/map31.bin and /dev/null differ diff --git a/src/data/maps/map32.bin b/src/data/maps/map32.bin deleted file mode 100644 index 609fa1e..0000000 Binary files a/src/data/maps/map32.bin and /dev/null differ diff --git a/src/data/maps/map33.bin b/src/data/maps/map33.bin deleted file mode 100644 index 025b820..0000000 Binary files a/src/data/maps/map33.bin and /dev/null differ diff --git a/src/data/maps/map34.bin b/src/data/maps/map34.bin deleted file mode 100644 index de03a48..0000000 Binary files a/src/data/maps/map34.bin and /dev/null differ diff --git a/src/data/maps/map35.bin b/src/data/maps/map35.bin deleted file mode 100644 index a178ac3..0000000 Binary files a/src/data/maps/map35.bin and /dev/null differ diff --git a/src/data/maps/map36.bin b/src/data/maps/map36.bin deleted file mode 100644 index 759a82e..0000000 Binary files a/src/data/maps/map36.bin and /dev/null differ diff --git a/src/data/maps/map37.bin b/src/data/maps/map37.bin deleted file mode 100644 index fc1588d..0000000 Binary files a/src/data/maps/map37.bin and /dev/null differ diff --git a/src/data/maps/map38.bin b/src/data/maps/map38.bin deleted file mode 100644 index 779b893..0000000 Binary files a/src/data/maps/map38.bin and /dev/null differ diff --git a/src/data/maps/map39.bin b/src/data/maps/map39.bin deleted file mode 100644 index 104acd7..0000000 Binary files a/src/data/maps/map39.bin and /dev/null differ diff --git a/src/data/maps/map4.bin b/src/data/maps/map4.bin deleted file mode 100644 index 744b347..0000000 --- a/src/data/maps/map4.bin +++ /dev/null @@ -1 +0,0 @@ -ÿÐÑÒÓÔÕÖ×ÿÜÝÞßðñòóøôõö÷€€ïí \ No newline at end of file diff --git a/src/data/maps/map40.bin b/src/data/maps/map40.bin deleted file mode 100644 index 37db1fa..0000000 Binary files a/src/data/maps/map40.bin and /dev/null differ diff --git a/src/data/maps/map41.bin b/src/data/maps/map41.bin deleted file mode 100644 index c13065e..0000000 Binary files a/src/data/maps/map41.bin and /dev/null differ diff --git a/src/data/maps/map42.bin b/src/data/maps/map42.bin deleted file mode 100644 index 21b5993..0000000 Binary files a/src/data/maps/map42.bin and /dev/null differ diff --git a/src/data/maps/map43.bin b/src/data/maps/map43.bin deleted file mode 100644 index 50e18a9..0000000 Binary files a/src/data/maps/map43.bin and /dev/null differ diff --git a/src/data/maps/map44.bin b/src/data/maps/map44.bin deleted file mode 100644 index 81c2cd1..0000000 Binary files a/src/data/maps/map44.bin and /dev/null differ diff --git a/src/data/maps/map45.bin b/src/data/maps/map45.bin deleted file mode 100644 index 6e44d7a..0000000 Binary files a/src/data/maps/map45.bin and /dev/null differ diff --git a/src/data/maps/map46.bin b/src/data/maps/map46.bin deleted file mode 100644 index 9bc01f8..0000000 Binary files a/src/data/maps/map46.bin and /dev/null differ diff --git a/src/data/maps/map47.bin b/src/data/maps/map47.bin deleted file mode 100644 index 085c680..0000000 Binary files a/src/data/maps/map47.bin and /dev/null differ diff --git a/src/data/maps/map48.bin b/src/data/maps/map48.bin deleted file mode 100644 index 5085c83..0000000 Binary files a/src/data/maps/map48.bin and /dev/null differ diff --git a/src/data/maps/map49.bin b/src/data/maps/map49.bin deleted file mode 100644 index c5ae1b9..0000000 Binary files a/src/data/maps/map49.bin and /dev/null differ diff --git a/src/data/maps/map5.bin b/src/data/maps/map5.bin deleted file mode 100644 index 1397e15..0000000 --- a/src/data/maps/map5.bin +++ /dev/null @@ -1 +0,0 @@ -ûÐÑÒÓóÔÕßÖ×óÜÝÞß}ðñòó ôèõö÷ ! €€ïí \ No newline at end of file diff --git a/src/data/maps/map50.bin b/src/data/maps/map50.bin deleted file mode 100644 index c34e10e..0000000 Binary files a/src/data/maps/map50.bin and /dev/null differ diff --git a/src/data/maps/map51.bin b/src/data/maps/map51.bin deleted file mode 100644 index 81a2263..0000000 Binary files a/src/data/maps/map51.bin and /dev/null differ diff --git a/src/data/maps/map52.bin b/src/data/maps/map52.bin deleted file mode 100644 index b8ae26f..0000000 Binary files a/src/data/maps/map52.bin and /dev/null differ diff --git a/src/data/maps/map53.bin b/src/data/maps/map53.bin deleted file mode 100644 index bfff297..0000000 Binary files a/src/data/maps/map53.bin and /dev/null differ diff --git a/src/data/maps/map54.bin b/src/data/maps/map54.bin deleted file mode 100644 index 7b7fef6..0000000 Binary files a/src/data/maps/map54.bin and /dev/null differ diff --git a/src/data/maps/map55.bin b/src/data/maps/map55.bin deleted file mode 100644 index ae652ec..0000000 Binary files a/src/data/maps/map55.bin and /dev/null differ diff --git a/src/data/maps/map56.bin b/src/data/maps/map56.bin deleted file mode 100644 index b4249e2..0000000 Binary files a/src/data/maps/map56.bin and /dev/null differ diff --git a/src/data/maps/map57.bin b/src/data/maps/map57.bin deleted file mode 100644 index be748b7..0000000 Binary files a/src/data/maps/map57.bin and /dev/null differ diff --git a/src/data/maps/map58.bin b/src/data/maps/map58.bin deleted file mode 100644 index 00625d0..0000000 Binary files a/src/data/maps/map58.bin and /dev/null differ diff --git a/src/data/maps/map59.bin b/src/data/maps/map59.bin deleted file mode 100644 index 3873084..0000000 Binary files a/src/data/maps/map59.bin and /dev/null differ diff --git a/src/data/maps/map6.bin b/src/data/maps/map6.bin deleted file mode 100644 index e2270c7..0000000 Binary files a/src/data/maps/map6.bin and /dev/null differ diff --git a/src/data/maps/map60.bin b/src/data/maps/map60.bin deleted file mode 100644 index 5dcb25e..0000000 Binary files a/src/data/maps/map60.bin and /dev/null differ diff --git a/src/data/maps/map61.bin b/src/data/maps/map61.bin deleted file mode 100644 index e29cc7b..0000000 Binary files a/src/data/maps/map61.bin and /dev/null differ diff --git a/src/data/maps/map62.bin b/src/data/maps/map62.bin deleted file mode 100644 index 11d47bd..0000000 --- a/src/data/maps/map62.bin +++ /dev/null @@ -1 +0,0 @@ -÷€‚ò‘’pò ¡¢ò \ No newline at end of file diff --git a/src/data/maps/map63.bin b/src/data/maps/map63.bin deleted file mode 100644 index 237f5fe..0000000 --- a/src/data/maps/map63.bin +++ /dev/null @@ -1 +0,0 @@ -÷ƒ„…ò“”•pò£¤¥ò \ No newline at end of file diff --git a/src/data/maps/map64.bin b/src/data/maps/map64.bin deleted file mode 100644 index 5f97f41..0000000 --- a/src/data/maps/map64.bin +++ /dev/null @@ -1 +0,0 @@ -÷†‡ˆò–—˜pò¦§¨ò \ No newline at end of file diff --git a/src/data/maps/map65.bin b/src/data/maps/map65.bin deleted file mode 100644 index 598efd3..0000000 --- a/src/data/maps/map65.bin +++ /dev/null @@ -1 +0,0 @@ -÷‰Š‹ò™š›pò©ª«ò \ No newline at end of file diff --git a/src/data/maps/map66.bin b/src/data/maps/map66.bin deleted file mode 100644 index b498b94..0000000 --- a/src/data/maps/map66.bin +++ /dev/null @@ -1 +0,0 @@ -÷ŒŽòœžpò¬­®ò \ No newline at end of file diff --git a/src/data/maps/map67.bin b/src/data/maps/map67.bin deleted file mode 100644 index e5d5767..0000000 --- a/src/data/maps/map67.bin +++ /dev/null @@ -1 +0,0 @@ -÷°±²ò¹º»pòÀÁÂò \ No newline at end of file diff --git a/src/data/maps/map68.bin b/src/data/maps/map68.bin deleted file mode 100644 index 8b74ef4..0000000 --- a/src/data/maps/map68.bin +++ /dev/null @@ -1 +0,0 @@ -÷³´µò¼½¾pòÃÄÅò \ No newline at end of file diff --git a/src/data/maps/map69.bin b/src/data/maps/map69.bin deleted file mode 100644 index 69d45ef..0000000 --- a/src/data/maps/map69.bin +++ /dev/null @@ -1 +0,0 @@ -÷¶·¸ò¿ŸpòÆÇ¯ò \ No newline at end of file diff --git a/src/data/maps/map7.bin b/src/data/maps/map7.bin deleted file mode 100644 index 7662b6e..0000000 Binary files a/src/data/maps/map7.bin and /dev/null differ diff --git a/src/data/maps/map70.bin b/src/data/maps/map70.bin deleted file mode 100644 index 0ac3803..0000000 Binary files a/src/data/maps/map70.bin and /dev/null differ diff --git a/src/data/maps/map71.bin b/src/data/maps/map71.bin deleted file mode 100644 index 8845640..0000000 Binary files a/src/data/maps/map71.bin and /dev/null differ diff --git a/src/data/maps/map72.bin b/src/data/maps/map72.bin deleted file mode 100644 index 0102181..0000000 Binary files a/src/data/maps/map72.bin and /dev/null differ diff --git a/src/data/maps/map73.bin b/src/data/maps/map73.bin deleted file mode 100644 index d3bb103..0000000 Binary files a/src/data/maps/map73.bin and /dev/null differ diff --git a/src/data/maps/map74.bin b/src/data/maps/map74.bin deleted file mode 100644 index 52f8e24..0000000 Binary files a/src/data/maps/map74.bin and /dev/null differ diff --git a/src/data/maps/map75.bin b/src/data/maps/map75.bin deleted file mode 100644 index bbb8abd..0000000 Binary files a/src/data/maps/map75.bin and /dev/null differ diff --git a/src/data/maps/map76.bin b/src/data/maps/map76.bin deleted file mode 100644 index 0380a45..0000000 --- a/src/data/maps/map76.bin +++ /dev/null @@ -1 +0,0 @@ -ÿ€‚ƒ„…†‡ÿ‘’“”•–—ÿ ¡¢£¤¥¦§ÿ°±²³´µ¶·ÿÀÁÂÃÄÅÆÇÿÐÑÒÓÔÕÖ×ÿˆ‰Š‹ŒŽÿ˜™š›œžŸÿ¨©ª«¬­®¯ÿ¸¹º»¼½¾¿ÿÈÉÊËÌÍÎÏÿØÙÚÛÜÝÞß \ No newline at end of file diff --git a/src/data/maps/map77.bin b/src/data/maps/map77.bin deleted file mode 100644 index ac2e677..0000000 Binary files a/src/data/maps/map77.bin and /dev/null differ diff --git a/src/data/maps/map78.bin b/src/data/maps/map78.bin deleted file mode 100644 index 0380a45..0000000 --- a/src/data/maps/map78.bin +++ /dev/null @@ -1 +0,0 @@ -ÿ€‚ƒ„…†‡ÿ‘’“”•–—ÿ ¡¢£¤¥¦§ÿ°±²³´µ¶·ÿÀÁÂÃÄÅÆÇÿÐÑÒÓÔÕÖ×ÿˆ‰Š‹ŒŽÿ˜™š›œžŸÿ¨©ª«¬­®¯ÿ¸¹º»¼½¾¿ÿÈÉÊËÌÍÎÏÿØÙÚÛÜÝÞß \ No newline at end of file diff --git a/src/data/maps/map79.bin b/src/data/maps/map79.bin deleted file mode 100644 index 4b03152..0000000 Binary files a/src/data/maps/map79.bin and /dev/null differ diff --git a/src/data/maps/map8.bin b/src/data/maps/map8.bin deleted file mode 100644 index aa8d5e5..0000000 --- a/src/data/maps/map8.bin +++ /dev/null @@ -1 +0,0 @@ -ðÜÝÞßÀ€€ \ No newline at end of file diff --git a/src/data/maps/map80.bin b/src/data/maps/map80.bin deleted file mode 100644 index 0380a45..0000000 --- a/src/data/maps/map80.bin +++ /dev/null @@ -1 +0,0 @@ -ÿ€‚ƒ„…†‡ÿ‘’“”•–—ÿ ¡¢£¤¥¦§ÿ°±²³´µ¶·ÿÀÁÂÃÄÅÆÇÿÐÑÒÓÔÕÖ×ÿˆ‰Š‹ŒŽÿ˜™š›œžŸÿ¨©ª«¬­®¯ÿ¸¹º»¼½¾¿ÿÈÉÊËÌÍÎÏÿØÙÚÛÜÝÞß \ No newline at end of file diff --git a/src/data/maps/map81.bin b/src/data/maps/map81.bin deleted file mode 100644 index 9480551..0000000 Binary files a/src/data/maps/map81.bin and /dev/null differ diff --git a/src/data/maps/map82.bin b/src/data/maps/map82.bin deleted file mode 100644 index 0380a45..0000000 --- a/src/data/maps/map82.bin +++ /dev/null @@ -1 +0,0 @@ -ÿ€‚ƒ„…†‡ÿ‘’“”•–—ÿ ¡¢£¤¥¦§ÿ°±²³´µ¶·ÿÀÁÂÃÄÅÆÇÿÐÑÒÓÔÕÖ×ÿˆ‰Š‹ŒŽÿ˜™š›œžŸÿ¨©ª«¬­®¯ÿ¸¹º»¼½¾¿ÿÈÉÊËÌÍÎÏÿØÙÚÛÜÝÞß \ No newline at end of file diff --git a/src/data/maps/map83.bin b/src/data/maps/map83.bin deleted file mode 100644 index cc72903..0000000 Binary files a/src/data/maps/map83.bin and /dev/null differ diff --git a/src/data/maps/map84.bin b/src/data/maps/map84.bin deleted file mode 100644 index 0380a45..0000000 --- a/src/data/maps/map84.bin +++ /dev/null @@ -1 +0,0 @@ -ÿ€‚ƒ„…†‡ÿ‘’“”•–—ÿ ¡¢£¤¥¦§ÿ°±²³´µ¶·ÿÀÁÂÃÄÅÆÇÿÐÑÒÓÔÕÖ×ÿˆ‰Š‹ŒŽÿ˜™š›œžŸÿ¨©ª«¬­®¯ÿ¸¹º»¼½¾¿ÿÈÉÊËÌÍÎÏÿØÙÚÛÜÝÞß \ No newline at end of file diff --git a/src/data/maps/map85.bin b/src/data/maps/map85.bin deleted file mode 100644 index 37fa470..0000000 Binary files a/src/data/maps/map85.bin and /dev/null differ diff --git a/src/data/maps/map86.bin b/src/data/maps/map86.bin deleted file mode 100644 index 0380a45..0000000 --- a/src/data/maps/map86.bin +++ /dev/null @@ -1 +0,0 @@ -ÿ€‚ƒ„…†‡ÿ‘’“”•–—ÿ ¡¢£¤¥¦§ÿ°±²³´µ¶·ÿÀÁÂÃÄÅÆÇÿÐÑÒÓÔÕÖ×ÿˆ‰Š‹ŒŽÿ˜™š›œžŸÿ¨©ª«¬­®¯ÿ¸¹º»¼½¾¿ÿÈÉÊËÌÍÎÏÿØÙÚÛÜÝÞß \ No newline at end of file diff --git a/src/data/maps/map87.bin b/src/data/maps/map87.bin deleted file mode 100644 index 065a4c5..0000000 Binary files a/src/data/maps/map87.bin and /dev/null differ diff --git a/src/data/maps/map88.bin b/src/data/maps/map88.bin deleted file mode 100644 index 0380a45..0000000 --- a/src/data/maps/map88.bin +++ /dev/null @@ -1 +0,0 @@ -ÿ€‚ƒ„…†‡ÿ‘’“”•–—ÿ ¡¢£¤¥¦§ÿ°±²³´µ¶·ÿÀÁÂÃÄÅÆÇÿÐÑÒÓÔÕÖ×ÿˆ‰Š‹ŒŽÿ˜™š›œžŸÿ¨©ª«¬­®¯ÿ¸¹º»¼½¾¿ÿÈÉÊËÌÍÎÏÿØÙÚÛÜÝÞß \ No newline at end of file diff --git a/src/data/maps/map89.bin b/src/data/maps/map89.bin deleted file mode 100644 index 2071453..0000000 Binary files a/src/data/maps/map89.bin and /dev/null differ diff --git a/src/data/maps/map9.bin b/src/data/maps/map9.bin deleted file mode 100644 index 288b905..0000000 --- a/src/data/maps/map9.bin +++ /dev/null @@ -1 +0,0 @@ -øÜÝÞßóÀ€€ \ No newline at end of file diff --git a/src/data/maps/map90.bin b/src/data/maps/map90.bin deleted file mode 100644 index 23b8711..0000000 Binary files a/src/data/maps/map90.bin and /dev/null differ diff --git a/src/data/maps/map91.bin b/src/data/maps/map91.bin deleted file mode 100644 index 723a7c6..0000000 Binary files a/src/data/maps/map91.bin and /dev/null differ diff --git a/src/data/maps/map92.bin b/src/data/maps/map92.bin deleted file mode 100644 index e33651c..0000000 Binary files a/src/data/maps/map92.bin and /dev/null differ diff --git a/src/data/maps/map93.bin b/src/data/maps/map93.bin deleted file mode 100644 index 8bef537..0000000 Binary files a/src/data/maps/map93.bin and /dev/null differ diff --git a/src/data/maps/map94.bin b/src/data/maps/map94.bin deleted file mode 100644 index d314a97..0000000 Binary files a/src/data/maps/map94.bin and /dev/null differ diff --git a/src/data/maps/map95.bin b/src/data/maps/map95.bin deleted file mode 100644 index 943bedf..0000000 Binary files a/src/data/maps/map95.bin and /dev/null differ diff --git a/src/data/maps/map96.bin b/src/data/maps/map96.bin deleted file mode 100644 index 99debbf..0000000 Binary files a/src/data/maps/map96.bin and /dev/null differ diff --git a/src/data/maps/map97.bin b/src/data/maps/map97.bin deleted file mode 100644 index 7d0c714..0000000 --- a/src/data/maps/map97.bin +++ /dev/null @@ -1,2 +0,0 @@ -¿üïU - êýÿøUþ@eÿ` \ No newline at end of file diff --git a/src/data/maps/map98.bin b/src/data/maps/map98.bin deleted file mode 100644 index 4f89d54..0000000 --- a/src/data/maps/map98.bin +++ /dev/null @@ -1 +0,0 @@ -ÿÐÑÒÓÔÕÖ×ÿØÙÚÛÜÝÞßÿàáâãäåæçÿèéêëìíîïððñòó \ No newline at end of file diff --git a/src/data/maps/map99.bin b/src/data/maps/map99.bin deleted file mode 100644 index 8cc4af6..0000000 --- a/src/data/maps/map99.bin +++ /dev/null @@ -1 +0,0 @@ -ÿ ¡¢£¤¥¦§ÿ¨©ª«¬­®¯ÿ°±²³´µ¶·ÿ¸¹º»¼½¾¿ðÀÁÂà \ No newline at end of file diff --git a/src/data/maps/permissions/challenge_hall.bin b/src/data/maps/permissions/challenge_hall.bin new file mode 100644 index 0000000..ab54f1c Binary files /dev/null and b/src/data/maps/permissions/challenge_hall.bin differ diff --git a/src/data/maps/permissions/challenge_hall_cgb.bin b/src/data/maps/permissions/challenge_hall_cgb.bin new file mode 100644 index 0000000..ab54f1c Binary files /dev/null and b/src/data/maps/permissions/challenge_hall_cgb.bin differ diff --git a/src/data/maps/permissions/challenge_hall_entrance.bin b/src/data/maps/permissions/challenge_hall_entrance.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/challenge_hall_entrance.bin differ diff --git a/src/data/maps/permissions/challenge_hall_entrance_cgb.bin b/src/data/maps/permissions/challenge_hall_entrance_cgb.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/challenge_hall_entrance_cgb.bin differ diff --git a/src/data/maps/permissions/club_lobby.bin b/src/data/maps/permissions/club_lobby.bin new file mode 100644 index 0000000..f79c177 Binary files /dev/null and b/src/data/maps/permissions/club_lobby.bin differ diff --git a/src/data/maps/permissions/club_lobby_cgb.bin b/src/data/maps/permissions/club_lobby_cgb.bin new file mode 100644 index 0000000..f79c177 Binary files /dev/null and b/src/data/maps/permissions/club_lobby_cgb.bin differ diff --git a/src/data/maps/permissions/deck_machine_room.bin b/src/data/maps/permissions/deck_machine_room.bin new file mode 100644 index 0000000..d1c4beb Binary files /dev/null and b/src/data/maps/permissions/deck_machine_room.bin differ diff --git a/src/data/maps/permissions/deck_machine_room_cgb.bin b/src/data/maps/permissions/deck_machine_room_cgb.bin new file mode 100644 index 0000000..d1c4beb Binary files /dev/null and b/src/data/maps/permissions/deck_machine_room_cgb.bin differ diff --git a/src/data/maps/permissions/fighting_club.bin b/src/data/maps/permissions/fighting_club.bin new file mode 100644 index 0000000..2b3f72f Binary files /dev/null and b/src/data/maps/permissions/fighting_club.bin differ diff --git a/src/data/maps/permissions/fighting_club_cgb.bin b/src/data/maps/permissions/fighting_club_cgb.bin new file mode 100644 index 0000000..2b3f72f Binary files /dev/null and b/src/data/maps/permissions/fighting_club_cgb.bin differ diff --git a/src/data/maps/permissions/fighting_club_entrance.bin b/src/data/maps/permissions/fighting_club_entrance.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/fighting_club_entrance.bin differ diff --git a/src/data/maps/permissions/fighting_club_entrance_cgb.bin b/src/data/maps/permissions/fighting_club_entrance_cgb.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/fighting_club_entrance_cgb.bin differ diff --git a/src/data/maps/permissions/fire_club.bin b/src/data/maps/permissions/fire_club.bin new file mode 100644 index 0000000..e2b6e52 Binary files /dev/null and b/src/data/maps/permissions/fire_club.bin differ diff --git a/src/data/maps/permissions/fire_club_cgb.bin b/src/data/maps/permissions/fire_club_cgb.bin new file mode 100644 index 0000000..e2b6e52 Binary files /dev/null and b/src/data/maps/permissions/fire_club_cgb.bin differ diff --git a/src/data/maps/permissions/fire_club_entrance.bin b/src/data/maps/permissions/fire_club_entrance.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/fire_club_entrance.bin differ diff --git a/src/data/maps/permissions/fire_club_entrance_cgb.bin b/src/data/maps/permissions/fire_club_entrance_cgb.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/fire_club_entrance_cgb.bin differ diff --git a/src/data/maps/permissions/grass_club.bin b/src/data/maps/permissions/grass_club.bin new file mode 100644 index 0000000..dbe8ade Binary files /dev/null and b/src/data/maps/permissions/grass_club.bin differ diff --git a/src/data/maps/permissions/grass_club_cgb.bin b/src/data/maps/permissions/grass_club_cgb.bin new file mode 100644 index 0000000..dbe8ade Binary files /dev/null and b/src/data/maps/permissions/grass_club_cgb.bin differ diff --git a/src/data/maps/permissions/grass_club_entrance.bin b/src/data/maps/permissions/grass_club_entrance.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/grass_club_entrance.bin differ diff --git a/src/data/maps/permissions/grass_club_entrance_cgb.bin b/src/data/maps/permissions/grass_club_entrance_cgb.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/grass_club_entrance_cgb.bin differ diff --git a/src/data/maps/permissions/hall_of_honor.bin b/src/data/maps/permissions/hall_of_honor.bin new file mode 100644 index 0000000..a59ca31 Binary files /dev/null and b/src/data/maps/permissions/hall_of_honor.bin differ diff --git a/src/data/maps/permissions/hall_of_honor_cgb.bin b/src/data/maps/permissions/hall_of_honor_cgb.bin new file mode 100644 index 0000000..a59ca31 Binary files /dev/null and b/src/data/maps/permissions/hall_of_honor_cgb.bin differ diff --git a/src/data/maps/permissions/ishihara.bin b/src/data/maps/permissions/ishihara.bin new file mode 100644 index 0000000..c1b17c2 Binary files /dev/null and b/src/data/maps/permissions/ishihara.bin differ diff --git a/src/data/maps/permissions/ishihara_cgb.bin b/src/data/maps/permissions/ishihara_cgb.bin new file mode 100644 index 0000000..c1b17c2 Binary files /dev/null and b/src/data/maps/permissions/ishihara_cgb.bin differ diff --git a/src/data/maps/permissions/lightning_club.bin b/src/data/maps/permissions/lightning_club.bin new file mode 100644 index 0000000..20d4b9f Binary files /dev/null and b/src/data/maps/permissions/lightning_club.bin differ diff --git a/src/data/maps/permissions/lightning_club_cgb.bin b/src/data/maps/permissions/lightning_club_cgb.bin new file mode 100644 index 0000000..20d4b9f Binary files /dev/null and b/src/data/maps/permissions/lightning_club_cgb.bin differ diff --git a/src/data/maps/permissions/lightning_club_entrance.bin b/src/data/maps/permissions/lightning_club_entrance.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/lightning_club_entrance.bin differ diff --git a/src/data/maps/permissions/lightning_club_entrance_cgb.bin b/src/data/maps/permissions/lightning_club_entrance_cgb.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/lightning_club_entrance_cgb.bin differ diff --git a/src/data/maps/permissions/mason_laboratory.bin b/src/data/maps/permissions/mason_laboratory.bin new file mode 100644 index 0000000..e19760c Binary files /dev/null and b/src/data/maps/permissions/mason_laboratory.bin differ diff --git a/src/data/maps/permissions/mason_laboratory_cgb.bin b/src/data/maps/permissions/mason_laboratory_cgb.bin new file mode 100644 index 0000000..e19760c Binary files /dev/null and b/src/data/maps/permissions/mason_laboratory_cgb.bin differ diff --git a/src/data/maps/permissions/pokemon_dome.bin b/src/data/maps/permissions/pokemon_dome.bin new file mode 100644 index 0000000..4640de5 Binary files /dev/null and b/src/data/maps/permissions/pokemon_dome.bin differ diff --git a/src/data/maps/permissions/pokemon_dome_cgb.bin b/src/data/maps/permissions/pokemon_dome_cgb.bin new file mode 100644 index 0000000..4640de5 Binary files /dev/null and b/src/data/maps/permissions/pokemon_dome_cgb.bin differ diff --git a/src/data/maps/permissions/pokemon_dome_entrance.bin b/src/data/maps/permissions/pokemon_dome_entrance.bin new file mode 100644 index 0000000..f5fab0c Binary files /dev/null and b/src/data/maps/permissions/pokemon_dome_entrance.bin differ diff --git a/src/data/maps/permissions/pokemon_dome_entrance_cgb.bin b/src/data/maps/permissions/pokemon_dome_entrance_cgb.bin new file mode 100644 index 0000000..f5fab0c Binary files /dev/null and b/src/data/maps/permissions/pokemon_dome_entrance_cgb.bin differ diff --git a/src/data/maps/permissions/psychic_club.bin b/src/data/maps/permissions/psychic_club.bin new file mode 100644 index 0000000..60ec1cb Binary files /dev/null and b/src/data/maps/permissions/psychic_club.bin differ diff --git a/src/data/maps/permissions/psychic_club_cgb.bin b/src/data/maps/permissions/psychic_club_cgb.bin new file mode 100644 index 0000000..60ec1cb Binary files /dev/null and b/src/data/maps/permissions/psychic_club_cgb.bin differ diff --git a/src/data/maps/permissions/psychic_club_entrance.bin b/src/data/maps/permissions/psychic_club_entrance.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/psychic_club_entrance.bin differ diff --git a/src/data/maps/permissions/psychic_club_entrance_cgb.bin b/src/data/maps/permissions/psychic_club_entrance_cgb.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/psychic_club_entrance_cgb.bin differ diff --git a/src/data/maps/permissions/rock_club.bin b/src/data/maps/permissions/rock_club.bin new file mode 100644 index 0000000..6797704 Binary files /dev/null and b/src/data/maps/permissions/rock_club.bin differ diff --git a/src/data/maps/permissions/rock_club_cgb.bin b/src/data/maps/permissions/rock_club_cgb.bin new file mode 100644 index 0000000..6797704 Binary files /dev/null and b/src/data/maps/permissions/rock_club_cgb.bin differ diff --git a/src/data/maps/permissions/rock_club_entrance.bin b/src/data/maps/permissions/rock_club_entrance.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/rock_club_entrance.bin differ diff --git a/src/data/maps/permissions/rock_club_entrance_cgb.bin b/src/data/maps/permissions/rock_club_entrance_cgb.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/rock_club_entrance_cgb.bin differ diff --git a/src/data/maps/permissions/science_club.bin b/src/data/maps/permissions/science_club.bin new file mode 100644 index 0000000..66ccc02 Binary files /dev/null and b/src/data/maps/permissions/science_club.bin differ diff --git a/src/data/maps/permissions/science_club_cgb.bin b/src/data/maps/permissions/science_club_cgb.bin new file mode 100644 index 0000000..66ccc02 Binary files /dev/null and b/src/data/maps/permissions/science_club_cgb.bin differ diff --git a/src/data/maps/permissions/science_club_entrance.bin b/src/data/maps/permissions/science_club_entrance.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/science_club_entrance.bin differ diff --git a/src/data/maps/permissions/science_club_entrance_cgb.bin b/src/data/maps/permissions/science_club_entrance_cgb.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/science_club_entrance_cgb.bin differ diff --git a/src/data/maps/permissions/unknown1.bin b/src/data/maps/permissions/unknown1.bin new file mode 100644 index 0000000..26b782d --- /dev/null +++ b/src/data/maps/permissions/unknown1.bin @@ -0,0 +1 @@ +€€ïí \ No newline at end of file diff --git a/src/data/maps/permissions/unknown1_cgb.bin b/src/data/maps/permissions/unknown1_cgb.bin new file mode 100644 index 0000000..26b782d --- /dev/null +++ b/src/data/maps/permissions/unknown1_cgb.bin @@ -0,0 +1 @@ +€€ïí \ No newline at end of file diff --git a/src/data/maps/permissions/unknown_2.bin b/src/data/maps/permissions/unknown_2.bin new file mode 100644 index 0000000..7f65eeb --- /dev/null +++ b/src/data/maps/permissions/unknown_2.bin @@ -0,0 +1 @@ +À€€ \ No newline at end of file diff --git a/src/data/maps/permissions/unknown_2_cgb.bin b/src/data/maps/permissions/unknown_2_cgb.bin new file mode 100644 index 0000000..7f65eeb --- /dev/null +++ b/src/data/maps/permissions/unknown_2_cgb.bin @@ -0,0 +1 @@ +À€€ \ No newline at end of file diff --git a/src/data/maps/permissions/unknown_3.bin b/src/data/maps/permissions/unknown_3.bin new file mode 100644 index 0000000..10bc8da Binary files /dev/null and b/src/data/maps/permissions/unknown_3.bin differ diff --git a/src/data/maps/permissions/unknown_3_cgb.bin b/src/data/maps/permissions/unknown_3_cgb.bin new file mode 100644 index 0000000..10bc8da Binary files /dev/null and b/src/data/maps/permissions/unknown_3_cgb.bin differ diff --git a/src/data/maps/permissions/unknown_4.bin b/src/data/maps/permissions/unknown_4.bin new file mode 100644 index 0000000..10bc8da Binary files /dev/null and b/src/data/maps/permissions/unknown_4.bin differ diff --git a/src/data/maps/permissions/unknown_4_cgb.bin b/src/data/maps/permissions/unknown_4_cgb.bin new file mode 100644 index 0000000..10bc8da Binary files /dev/null and b/src/data/maps/permissions/unknown_4_cgb.bin differ diff --git a/src/data/maps/permissions/water_club.bin b/src/data/maps/permissions/water_club.bin new file mode 100644 index 0000000..ca1332d Binary files /dev/null and b/src/data/maps/permissions/water_club.bin differ diff --git a/src/data/maps/permissions/water_club_cgb.bin b/src/data/maps/permissions/water_club_cgb.bin new file mode 100644 index 0000000..ca1332d Binary files /dev/null and b/src/data/maps/permissions/water_club_cgb.bin differ diff --git a/src/data/maps/permissions/water_club_entrance.bin b/src/data/maps/permissions/water_club_entrance.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/water_club_entrance.bin differ diff --git a/src/data/maps/permissions/water_club_entrance_cgb.bin b/src/data/maps/permissions/water_club_entrance_cgb.bin new file mode 100644 index 0000000..76a9ae1 Binary files /dev/null and b/src/data/maps/permissions/water_club_entrance_cgb.bin differ diff --git a/src/data/maps/tiles/aerodactyl_intro.bin b/src/data/maps/tiles/aerodactyl_intro.bin new file mode 100644 index 0000000..0380a45 --- /dev/null +++ b/src/data/maps/tiles/aerodactyl_intro.bin @@ -0,0 +1 @@ +ÿ€‚ƒ„…†‡ÿ‘’“”•–—ÿ ¡¢£¤¥¦§ÿ°±²³´µ¶·ÿÀÁÂÃÄÅÆÇÿÐÑÒÓÔÕÖ×ÿˆ‰Š‹ŒŽÿ˜™š›œžŸÿ¨©ª«¬­®¯ÿ¸¹º»¼½¾¿ÿÈÉÊËÌÍÎÏÿØÙÚÛÜÝÞß \ No newline at end of file diff --git a/src/data/maps/tiles/aerodactyl_intro_cgb.bin b/src/data/maps/tiles/aerodactyl_intro_cgb.bin new file mode 100644 index 0000000..2071453 Binary files /dev/null and b/src/data/maps/tiles/aerodactyl_intro_cgb.bin differ diff --git a/src/data/maps/tiles/card_pop.bin b/src/data/maps/tiles/card_pop.bin new file mode 100644 index 0000000..e29cc7b Binary files /dev/null and b/src/data/maps/tiles/card_pop.bin differ diff --git a/src/data/maps/tiles/card_pop_cgb.bin b/src/data/maps/tiles/card_pop_cgb.bin new file mode 100644 index 0000000..5dcb25e Binary files /dev/null and b/src/data/maps/tiles/card_pop_cgb.bin differ diff --git a/src/data/maps/tiles/challenge_hall.bin b/src/data/maps/tiles/challenge_hall.bin new file mode 100644 index 0000000..6143f36 Binary files /dev/null and b/src/data/maps/tiles/challenge_hall.bin differ diff --git a/src/data/maps/tiles/challenge_hall_cgb.bin b/src/data/maps/tiles/challenge_hall_cgb.bin new file mode 100644 index 0000000..55a8d57 Binary files /dev/null and b/src/data/maps/tiles/challenge_hall_cgb.bin differ diff --git a/src/data/maps/tiles/challenge_hall_entrance.bin b/src/data/maps/tiles/challenge_hall_entrance.bin new file mode 100644 index 0000000..d7c7485 --- /dev/null +++ b/src/data/maps/tiles/challenge_hall_entrance.bin @@ -0,0 +1 @@ +ƒñ#†“”•ß–…ñ‘„Ї£ú¤¥££ ÷  ³´µ³³¢°÷°#-󗘘™-@ˆ‹-HA¢¡A‡²½±Uÿ‡ššªj›Û›©~ÿ««‘‡‚Ù„¨i¸àá)ioâ»ãÉäåÝñæµç=ƒ "†-…z 3’‹¢£ _$º ¡²³02°_°°0E±€C_&C \ No newline at end of file diff --git a/src/data/maps/tiles/challenge_hall_entrance_cgb.bin b/src/data/maps/tiles/challenge_hall_entrance_cgb.bin new file mode 100644 index 0000000..dba4a85 Binary files /dev/null and b/src/data/maps/tiles/challenge_hall_entrance_cgb.bin differ diff --git a/src/data/maps/tiles/charizard_intro.bin b/src/data/maps/tiles/charizard_intro.bin new file mode 100644 index 0000000..0380a45 --- /dev/null +++ b/src/data/maps/tiles/charizard_intro.bin @@ -0,0 +1 @@ +ÿ€‚ƒ„…†‡ÿ‘’“”•–—ÿ ¡¢£¤¥¦§ÿ°±²³´µ¶·ÿÀÁÂÃÄÅÆÇÿÐÑÒÓÔÕÖ×ÿˆ‰Š‹ŒŽÿ˜™š›œžŸÿ¨©ª«¬­®¯ÿ¸¹º»¼½¾¿ÿÈÉÊËÌÍÎÏÿØÙÚÛÜÝÞß \ No newline at end of file diff --git a/src/data/maps/tiles/charizard_intro_cgb.bin b/src/data/maps/tiles/charizard_intro_cgb.bin new file mode 100644 index 0000000..37fa470 Binary files /dev/null and b/src/data/maps/tiles/charizard_intro_cgb.bin differ diff --git a/src/data/maps/tiles/club_lobby.bin b/src/data/maps/tiles/club_lobby.bin new file mode 100644 index 0000000..98fdcc5 Binary files /dev/null and b/src/data/maps/tiles/club_lobby.bin differ diff --git a/src/data/maps/tiles/club_lobby_cgb.bin b/src/data/maps/tiles/club_lobby_cgb.bin new file mode 100644 index 0000000..ccc9148 --- /dev/null +++ b/src/data/maps/tiles/club_lobby_cgb.bin @@ -0,0 +1 @@ +炊ƒñôø’„? ø‡ˆ“””•ñÀÀ¤¥-1/"–Œ—;'E€K/W"%½aÐдµleôõeB¦§sAÎÖQ™tö÷™As‡µ‡µñ™˜°™™B¶·ã±ÀKÁÿÒ™Oé1’•ÊÊÉPCÌC¨ôÿÿN1ù𛍍Ë{|©gï_8vª«¾Y³¿¯‘“4ºº˜» ‚ÂÁË1¬3̼¹ðó¿ÒÑû8(ô¿ÝÜÜËD{@ŽŒWö¿Þààsÿ„Ìñ¦áá«ÿ¼âþãŒêæç”àß‚„ãÄ!ñ¦Uÿä圞žŸèéÒ ÿ÷ë5`¦œÀŸÒÆQWLë5`ñ¬ë®¯ ¿P™âì¼í;¼¸¸¹C áNÁÏüˆîï{¶@‰:l?ðñ¶QÁ/ Date: Thu, 18 Feb 2021 20:35:40 +0000 Subject: Fix typos --- src/engine/bank20.asm | 2 +- src/wram.asm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/engine/bank20.asm b/src/engine/bank20.asm index 3ca89a0..8a3260c 100644 --- a/src/engine/bank20.asm +++ b/src/engine/bank20.asm @@ -135,7 +135,7 @@ LoadTilemap: ; 80082 (20:4082) .Decompress ; 800e0 (20:40e0) ; if wBGMapCGBMode is true, then use double wBGMapWidth ; since one "width" length goes to VRAM0 -; and the onther "width" length goes to VRAM1 +; and the other "width" length goes to VRAM1 push hl ld hl, wd28e ld a, [wBGMapWidth] diff --git a/src/wram.asm b/src/wram.asm index de91ebd..15910e7 100644 --- a/src/wram.asm +++ b/src/wram.asm @@ -577,9 +577,9 @@ wDecompCommandByte:: ; cad9 ; if bit 7 is changed from off to on, then ; decompression routine will read next two bytes -; for repeating previous sequence (num of bytes, offset) -; if changes from off to on, then the routine -; will only read one byte, and reuse previous num of bytes +; for repeating previous sequence (length, offset) +; if it changes from on to off, then the routine +; will only read one byte, and reuse previous length byte wDecompRepeatModeToggle:: ; cada ds $1 -- cgit v1.2.3 From c8351624f7342b8b8081cb06a8c010ede7491f1d Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Thu, 18 Feb 2021 20:39:00 +0000 Subject: Fix spaces --- src/constants/tilemap_constants.asm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/constants/tilemap_constants.asm b/src/constants/tilemap_constants.asm index d179584..4a64930 100644 --- a/src/constants/tilemap_constants.asm +++ b/src/constants/tilemap_constants.asm @@ -3,12 +3,12 @@ const TILEMAP_OVERWORLD_MAP_CGB ; $01 const TILEMAP_MASON_LABORATORY ; $02 const TILEMAP_MASON_LABORATORY_CGB ; $03 - const TILEMAP_UNKNOWN_1 ; $04 - const TILEMAP_UNKNOWN_1_CGB ; $05 + const TILEMAP_UNKNOWN_1 ; $04 + const TILEMAP_UNKNOWN_1_CGB ; $05 const TILEMAP_DECK_MACHINE_ROOM ; $06 const TILEMAP_DECK_MACHINE_ROOM_CGB ; $07 - const TILEMAP_UNKNOWN_2 ; $08 - const TILEMAP_UNKNOWN_2_CGB ; $09 + const TILEMAP_UNKNOWN_2 ; $08 + const TILEMAP_UNKNOWN_2_CGB ; $09 const TILEMAP_ISHIHARA ; $0a const TILEMAP_ISHIHARA_CGB ; $0b const TILEMAP_FIGHTING_CLUB_ENTRANCE ; $0c @@ -51,12 +51,12 @@ const TILEMAP_CHALLENGE_HALL_CGB ; $31 const TILEMAP_POKEMON_DOME_ENTRANCE ; $32 const TILEMAP_POKEMON_DOME_ENTRANCE_CGB ; $33 - const TILEMAP_UNKNOWN_3 ; $34 - const TILEMAP_UNKNOWN_3_CGB ; $35 + const TILEMAP_UNKNOWN_3 ; $34 + const TILEMAP_UNKNOWN_3_CGB ; $35 const TILEMAP_POKEMON_DOME ; $36 const TILEMAP_POKEMON_DOME_CGB ; $37 - const TILEMAP_UNKNOWN_4 ; $38 - const TILEMAP_UNKNOWN_4_CGB ; $39 + const TILEMAP_UNKNOWN_4 ; $38 + const TILEMAP_UNKNOWN_4_CGB ; $39 const TILEMAP_HALL_OF_HONOR ; $3a const TILEMAP_HALL_OF_HONOR_CGB ; $3b const TILEMAP_CARD_POP_CGB ; $3c -- cgit v1.2.3 From 4f69ff28ca7c3ef6b8890d66edd625de9b062f51 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Thu, 18 Feb 2021 21:24:02 +0000 Subject: Standardise title screen gfx labels --- src/engine/bank20.asm | 12 +++++------ src/gfx.asm | 24 ++++++++++----------- src/gfx/titlescreen/japanese_title_screen.png | Bin 0 -> 909 bytes src/gfx/titlescreen/japanese_title_screen_2.png | Bin 0 -> 2572 bytes .../titlescreen/japanese_title_screen_2_cgb.png | Bin 0 -> 3602 bytes src/gfx/titlescreen/japanese_title_screen_cgb.png | Bin 0 -> 950 bytes src/gfx/titlescreen/title_screen.png | Bin 0 -> 2007 bytes src/gfx/titlescreen/title_screen_cgb.png | Bin 0 -> 2005 bytes src/gfx/titlescreen/titlescreen1.png | Bin 909 -> 0 bytes src/gfx/titlescreen/titlescreen2.png | Bin 950 -> 0 bytes src/gfx/titlescreen/titlescreen3.png | Bin 2572 -> 0 bytes src/gfx/titlescreen/titlescreen4.png | Bin 3602 -> 0 bytes src/gfx/titlescreen/titlescreen5.png | Bin 2007 -> 0 bytes src/gfx/titlescreen/titlescreen6.png | Bin 2005 -> 0 bytes 14 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 src/gfx/titlescreen/japanese_title_screen.png create mode 100644 src/gfx/titlescreen/japanese_title_screen_2.png create mode 100644 src/gfx/titlescreen/japanese_title_screen_2_cgb.png create mode 100644 src/gfx/titlescreen/japanese_title_screen_cgb.png create mode 100644 src/gfx/titlescreen/title_screen.png create mode 100644 src/gfx/titlescreen/title_screen_cgb.png delete mode 100644 src/gfx/titlescreen/titlescreen1.png delete mode 100644 src/gfx/titlescreen/titlescreen2.png delete mode 100644 src/gfx/titlescreen/titlescreen3.png delete mode 100644 src/gfx/titlescreen/titlescreen4.png delete mode 100644 src/gfx/titlescreen/titlescreen5.png delete mode 100644 src/gfx/titlescreen/titlescreen6.png (limited to 'src') diff --git a/src/engine/bank20.asm b/src/engine/bank20.asm index 8a3260c..8460836 100644 --- a/src/engine/bank20.asm +++ b/src/engine/bank20.asm @@ -1455,16 +1455,16 @@ Tilesets: ; 8100f (20:500f) tileset ScytherIntro2Gfx, 96 ; TILESET_SCYTHER_INTRO_2 tileset AerodactylIntro1Gfx, 96 ; TILESET_AERODACTYL_INTRO_1 tileset AerodactylIntro2Gfx, 96 ; TILESET_AERODACTYL_INTRO_2 - tileset Titlescreen1Gfx, 97 ; TILESET_JAPANESE_TITLE_SCREEN - tileset Titlescreen2Gfx, 97 ; TILESET_JAPANESE_TITLE_SCREEN_CGB + tileset JapaneseTitleScreenGfx, 97 ; TILESET_JAPANESE_TITLE_SCREEN + tileset JapaneseTitleScreenCGBGfx, 97 ; TILESET_JAPANESE_TITLE_SCREEN_CGB tileset SolidTiles1, 4 ; TILESET_SOLID_TILES_1 - tileset Titlescreen3Gfx, 244 ; TILESET_JAPANESE_TITLE_SCREEN_2 - tileset Titlescreen4Gfx, 59 ; TILESET_JAPANESE_TITLE_SCREEN_2_CGB + tileset JapaneseTitleScreen2Gfx, 244 ; TILESET_JAPANESE_TITLE_SCREEN_2 + tileset JapaneseTitleScreen2CGBGfx, 59 ; TILESET_JAPANESE_TITLE_SCREEN_2_CGB tileset SolidTiles2, 4 ; TILESET_SOLID_TILES_2 tileset PlayerGfx, 36 ; TILESET_PLAYER tileset RonaldGfx, 36 ; TILESET_RONALD - tileset Titlescreen5Gfx, 220 ; TILESET_TITLE_SCREEN - tileset Titlescreen6Gfx, 212 ; TILESET_TITLE_SCREEN_CGB + tileset TitleScreenGfx, 220 ; TILESET_TITLE_SCREEN + tileset TitleScreenCGBGfx, 212 ; TILESET_TITLE_SCREEN_CGB tileset CopyrightGfx, 36 ; TILESET_COPYRIGHT tileset NintendoGfx, 24 ; TILESET_NINTENDO tileset CompaniesGfx, 49 ; TILESET_COMPANIES diff --git a/src/gfx.asm b/src/gfx.asm index c7fd771..e9016be 100644 --- a/src/gfx.asm +++ b/src/gfx.asm @@ -787,13 +787,13 @@ AerodactylIntro2Gfx:: ; 9696e (25:696e) dw 96 INCBIN "gfx/titlescreen/booster_packs/aerodactylintro2.2bpp" -Titlescreen1Gfx:: ; 96f70 (25:6f70) +JapaneseTitleScreenGfx:: ; 96f70 (25:6f70) dw 97 - INCBIN "gfx/titlescreen/titlescreen1.2bpp" + INCBIN "gfx/titlescreen/japanese_title_screen.2bpp" -Titlescreen2Gfx:: ; 97582 (25:7582) +JapaneseTitleScreenCGBGfx:: ; 97582 (25:7582) dw 97 - INCBIN "gfx/titlescreen/titlescreen2.2bpp" + INCBIN "gfx/titlescreen/japanese_title_screen_cgb.2bpp" CompaniesGfx:: ; 97b94 (25:7b94) dw 49 @@ -811,21 +811,21 @@ AnimData5:: ; 97fe8 (25:7fe8) SECTION "Gfx 8", ROMX -Titlescreen3Gfx:: ; 98000 (26:4000) +JapaneseTitleScreen2Gfx:: ; 98000 (26:4000) dw 244 - INCBIN "gfx/titlescreen/titlescreen3.2bpp" + INCBIN "gfx/titlescreen/japanese_title_screen_2.2bpp" -Titlescreen4Gfx:: ; 98f42 (26:4f42) +JapaneseTitleScreen2CGBGfx:: ; 98f42 (26:4f42) dw 315 - INCBIN "gfx/titlescreen/titlescreen4.2bpp" + INCBIN "gfx/titlescreen/japanese_title_screen_2_cgb.2bpp" -Titlescreen5Gfx:: ; 9a2f4 (26:62f4) +TitleScreenGfx:: ; 9a2f4 (26:62f4) dw 220 - INCBIN "gfx/titlescreen/titlescreen5.2bpp" + INCBIN "gfx/titlescreen/title_screen.2bpp" -Titlescreen6Gfx:: ; 9b0b6 (26:70b6) +TitleScreenCGBGfx:: ; 9b0b6 (26:70b6) dw 212 - INCBIN "gfx/titlescreen/titlescreen6.2bpp" + INCBIN "gfx/titlescreen/title_screen_cgb.2bpp" OWDrMasonGfx:: ; 9bdf8 (26:7df8) dw $14 diff --git a/src/gfx/titlescreen/japanese_title_screen.png b/src/gfx/titlescreen/japanese_title_screen.png new file mode 100644 index 0000000..82b39e5 Binary files /dev/null and b/src/gfx/titlescreen/japanese_title_screen.png differ diff --git a/src/gfx/titlescreen/japanese_title_screen_2.png b/src/gfx/titlescreen/japanese_title_screen_2.png new file mode 100644 index 0000000..adddee4 Binary files /dev/null and b/src/gfx/titlescreen/japanese_title_screen_2.png differ diff --git a/src/gfx/titlescreen/japanese_title_screen_2_cgb.png b/src/gfx/titlescreen/japanese_title_screen_2_cgb.png new file mode 100644 index 0000000..1d3cb92 Binary files /dev/null and b/src/gfx/titlescreen/japanese_title_screen_2_cgb.png differ diff --git a/src/gfx/titlescreen/japanese_title_screen_cgb.png b/src/gfx/titlescreen/japanese_title_screen_cgb.png new file mode 100644 index 0000000..f54b7c3 Binary files /dev/null and b/src/gfx/titlescreen/japanese_title_screen_cgb.png differ diff --git a/src/gfx/titlescreen/title_screen.png b/src/gfx/titlescreen/title_screen.png new file mode 100644 index 0000000..3cb6ab3 Binary files /dev/null and b/src/gfx/titlescreen/title_screen.png differ diff --git a/src/gfx/titlescreen/title_screen_cgb.png b/src/gfx/titlescreen/title_screen_cgb.png new file mode 100644 index 0000000..4f0dbe8 Binary files /dev/null and b/src/gfx/titlescreen/title_screen_cgb.png differ diff --git a/src/gfx/titlescreen/titlescreen1.png b/src/gfx/titlescreen/titlescreen1.png deleted file mode 100644 index 82b39e5..0000000 Binary files a/src/gfx/titlescreen/titlescreen1.png and /dev/null differ diff --git a/src/gfx/titlescreen/titlescreen2.png b/src/gfx/titlescreen/titlescreen2.png deleted file mode 100644 index f54b7c3..0000000 Binary files a/src/gfx/titlescreen/titlescreen2.png and /dev/null differ diff --git a/src/gfx/titlescreen/titlescreen3.png b/src/gfx/titlescreen/titlescreen3.png deleted file mode 100644 index adddee4..0000000 Binary files a/src/gfx/titlescreen/titlescreen3.png and /dev/null differ diff --git a/src/gfx/titlescreen/titlescreen4.png b/src/gfx/titlescreen/titlescreen4.png deleted file mode 100644 index 1d3cb92..0000000 Binary files a/src/gfx/titlescreen/titlescreen4.png and /dev/null differ diff --git a/src/gfx/titlescreen/titlescreen5.png b/src/gfx/titlescreen/titlescreen5.png deleted file mode 100644 index 3cb6ab3..0000000 Binary files a/src/gfx/titlescreen/titlescreen5.png and /dev/null differ diff --git a/src/gfx/titlescreen/titlescreen6.png b/src/gfx/titlescreen/titlescreen6.png deleted file mode 100644 index 4f0dbe8..0000000 Binary files a/src/gfx/titlescreen/titlescreen6.png and /dev/null differ -- cgit v1.2.3