From 427f491e2e35b559902cce7e26cde45b8db5b744 Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 1 Sep 2020 12:24:14 -0400 Subject: [PATCH] Pan Docs: "When sending three or more data sets, data is continued in further packet(s). Unused bytes at the end of the last packet should be set to zero." --- gfx/sgb/blk_packets.asm | 20 ++++++++++---------- gfx/sgb/pal_packets.asm | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gfx/sgb/blk_packets.asm b/gfx/sgb/blk_packets.asm index d25c5e22c..178f43594 100644 --- a/gfx/sgb/blk_packets.asm +++ b/gfx/sgb/blk_packets.asm @@ -16,12 +16,12 @@ ENDM BlkPacket_9a86: attr_blk 1 attr_blk_data %011, 0,0,0, 00,00, 19,17 - ds 8 + ds 8, 0 BlkPacket_GSIntroJigglypuffPikachu: attr_blk 1 attr_blk_data %111, 1,1,0, 00,10, 19,13 - ds 8 + ds 8, 0 BlkPacket_Battle: attr_blk 5 @@ -34,22 +34,22 @@ BlkPacket_Battle: BlkPacket_StatsScreen: attr_blk 1 attr_blk_data %111, 1,1,0, 00,01, 07,07 ; mon: pal 1 - ds 8 + ds 8, 0 BlkPacket_MoveList: attr_blk 1 attr_blk_data %111, 1,1,0, 11,01, 19,02 - ds 8 + ds 8, 0 BlkPacket_Pokedex_PC: attr_blk 1 attr_blk_data %111, 1,1,0, 01,01, 08,08 ; mon: pal 1 - ds 8 + ds 8, 0 BlkPacket_PokedexUnownMode: attr_blk 1 attr_blk_data %111, 1,1,0, 07,05, 13,11 ; unown: pal 1 - ds 8 + ds 8, 0 BlkPacket_SlotMachine: attr_blk 5 @@ -68,22 +68,22 @@ BlkPacket_PartyMenu: ; unreferenced attr_blk_data %010, 0,0,0, 12,06, 18,07 attr_blk_data %010, 0,0,0, 12,08, 18,09 attr_blk_data %010, 0,0,0, 12,10, 18,11 - ds 4 + ds 4, 0 BlkPacket_GSTitleScreen: attr_blk 3 attr_blk_data %111, 0,0,2, 00,00, 19,04 attr_blk_data %011, 3,3,0, 00,06, 19,17 attr_blk_data %011, 1,1,0, 15,01, 18,04 - ds 12 + ds 12, 0 BlkPacket_BetaTitleScreen: attr_blk 1 attr_blk_data %111, 0,0,1, 00,00, 19,05 ; logo - ds 8 + ds 8, 0 BlkPacket_MagnetTrain: attr_blk 2 attr_blk_data %111, 2,2,0, 00,04, 19,13 ; fence attr_blk_data %011, 1,1,0, 00,06, 19,11 ; train - ds 2 + ds 2, 0 diff --git a/gfx/sgb/pal_packets.asm b/gfx/sgb/pal_packets.asm index 5085f9194..99c3706a6 100644 --- a/gfx/sgb/pal_packets.asm +++ b/gfx/sgb/pal_packets.asm @@ -5,7 +5,7 @@ sgb_pal_set: MACRO db (SGB_PAL_SET << 3) + 1 dw PREDEFPAL_\1, PREDEFPAL_\2, PREDEFPAL_\3, PREDEFPAL_\4 - ds 7 + ds 7, 0 ENDM sgb_pal01: MACRO @@ -85,7 +85,7 @@ PalPacket_9ce6: rept 6 RGB 00, 00, 00 endr - ds 1 + db 0 PalPacket_9cf6: sgb_pal23 @@ -93,4 +93,4 @@ PalPacket_9cf6: rept 6 RGB 00, 00, 00 endr - ds 1 + db 0