diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-17 15:58:06 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-17 15:58:06 -0400 |
| commit | 76289dfda0b7405944e10a78b7381c723475bea4 (patch) | |
| tree | b3041f6324c7a5b6065a84d94af66ddb098dee2c /engine/battle | |
| parent | Define constants for subanimations' base coords and frame block modes (diff) | |
| download | pokeyellow-76289dfda0b7405944e10a78b7381c723475bea4.tar.gz pokeyellow-76289dfda0b7405944e10a78b7381c723475bea4.tar.xz pokeyellow-76289dfda0b7405944e10a78b7381c723475bea4.zip | |
Port dbsprite macro for OAM y,x,tile,attr data from pokecrystal
Diffstat (limited to 'engine/battle')
| -rw-r--r-- | engine/battle/scale_sprites.asm | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/engine/battle/scale_sprites.asm b/engine/battle/scale_sprites.asm index 69979412..87b4398d 100644 --- a/engine/battle/scale_sprites.asm +++ b/engine/battle/scale_sprites.asm @@ -79,7 +79,19 @@ ScalePixelsByTwo: ; repeats each input bit twice DuplicateBitsTable: - db $00, $03, $0c, $0f - db $30, $33, $3c, $3f - db $c0, $c3, $cc, $cf - db $f0, $f3, $fc, $ff + db %00000000 + db %00000011 + db %00001100 + db %00001111 + db %00110000 + db %00110011 + db %00111100 + db %00111111 + db %11000000 + db %11000011 + db %11001100 + db %11001111 + db %11110000 + db %11110011 + db %11111100 + db %11111111 |
