; DMGTRIS ; Copyright (C) 2023 - Randy Thiemann ; This program is free software: you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation, either version 3 of the License, or ; (at your option) any later version. ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; You should have received a copy of the GNU General Public License ; along with this program. If not, see . IF !DEF(GAMEPLAY_BIG_MAP_INC) DEF GAMEPLAY_BIG_MAP_INC EQU 1 INCLUDE "globals.asm" SECTION "Gameplay Big Static Data", ROMX, BANK[BANK_GAMEPLAY_BIG] sBigLeady:: db " READY? " sBigGo:: db " GO " sBigPause:: db "P A U S E " db " P A U S E" sBigPieceXOffsets:: ; How to draw each piece. X-offsets of the sprites. db 0, 8, 16, 24 ; I db 0, 8, 8, 16 ; Z db 0, 8, 8, 16 ; S db 0, 8, 16, 16 ; J db 0, 0, 8, 16 ; L db 8, 8, 16, 16 ; O db 0, 8, 8, 16 ; T sBigPieceYOffsets:: ; How to draw each piece. Y-offsets of the sprites. db 0, 0, 0, 0 ; I db 0, 0, 7, 7 ; Z db 7, 7, 0, 0 ; S db 0, 0, 0, 7 ; J db 7, 0, 0, 0 ; L db 0, 7, 0, 7 ; O db 0, 0, 7, 0 ; T sBigPieceFastRotationStates:: ; I db 14, 1, 1, 1 db 2, 14, 14, 14 db 14, 1, 1, 1 db 2, 14, 14, 14 ; Z db 14, 1, 14, 1 db 2, 13, 1, 13 db 14, 1, 14, 1 db 2, 13, 1, 13 ; S db 15, 1, 12, 1 db 0, 14, 1, 14 db 15, 1, 12, 1 db 0, 14, 1, 14 ; J db 14, 1, 1, 14 db 1, 1, 13, 14 db 14, 14, 1, 1 db 1, 14, 13, 1 ; L db 14, 1, 1, 12 db 1, 14, 14, 1 db 16, 12, 1, 1 db 0, 1, 14, 14 ; O db 15, 1, 13, 1 db 15, 1, 13, 1 db 15, 1, 13, 1 db 15, 1, 13, 1 ; T db 14, 1, 1, 13 db 1, 14, 1, 13 db 15, 13, 1, 1 db 1, 13, 1, 14 sBigPieceRotationStates:: ; How each piece is rotated. ; I db %0000 db %1111 db %0000 db %0000 db %0010 db %0010 db %0010 db %0010 db %0000 db %1111 db %0000 db %0000 db %0010 db %0010 db %0010 db %0010 ; Z db %0000 db %1100 db %0110 db %0000 db %0010 db %0110 db %0100 db %0000 db %0000 db %1100 db %0110 db %0000 db %0010 db %0110 db %0100 db %0000 ; S db %0000 db %0110 db %1100 db %0000 db %1000 db %1100 db %0100 db %0000 db %0000 db %0110 db %1100 db %0000 db %1000 db %1100 db %0100 db %0000 ; J db %0000 db %1110 db %0010 db %0000 db %0110 db %0100 db %0100 db %0000 db %0000 db %1000 db %1110 db %0000 db %0100 db %0100 db %1100 db %0000 ; L db %0000 db %1110 db %1000 db %0000 db %0100 db %0100 db %0110 db %0000 db %0000 db %0010 db %1110 db %0000 db %1100 db %0100 db %0100 db %0000 ; O db %0000 db %0110 db %0110 db %0000 db %0000 db %0110 db %0110 db %0000 db %0000 db %0110 db %0110 db %0000 db %0000 db %0110 db %0110 db %0000 ; T db %0000 db %1110 db %0100 db %0000 db %0100 db %0110 db %0100 db %0000 db %0000 db %0100 db %1110 db %0000 db %0100 db %1100 db %0100 db %0000 sBigGameplayTileMap:: DB $01,$01,$01,$01,$01,$01,$01,$01,$01,$01 DB $03,$01,$01,$01,$01,$01,$01,$01,$01,$09 DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00 DB $00,$00,$01,$01,$01,$01,$01,$01,$01,$01 DB $01,$01,$03,$59,$50,$63,$5F,$01,$01,$01 DB $01,$09,$00,$00,$00,$00,$00,$00,$00,$00 DB $00,$00,$00,$00,$01,$01,$01,$01,$01,$01 DB $01,$01,$01,$01,$03,$01,$01,$01,$01,$01 DB $01,$01,$01,$09,$00,$00,$00,$00,$00,$00 DB $00,$00,$00,$00,$00,$00,$01,$01,$01,$01 DB $01,$01,$01,$01,$01,$01,$03,$01,$01,$01 DB $01,$01,$01,$01,$01,$09,$00,$00,$00,$00 DB $00,$00,$00,$00,$00,$00,$00,$00,$01,$01 DB $01,$01,$01,$01,$01,$01,$01,$01,$03,$01 DB $01,$01,$01,$01,$01,$01,$01,$09,$00,$00 DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00 DB $01,$01,$01,$01,$01,$01,$01,$01,$01,$01 DB $03,$01,$01,$01,$01,$01,$01,$01,$01,$09 DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00 DB $00,$00,$01,$01,$01,$01,$01,$01,$01,$01 DB $01,$01,$08,$06,$06,$06,$06,$06,$06,$06 DB $06,$07,$00,$00,$00,$00,$00,$00,$00,$00 DB $00,$00,$00,$00,$01,$01,$01,$01,$01,$01 DB $01,$01,$01,$01,$03,$53,$5A,$57,$4F,$01 DB $01,$01,$01,$09,$00,$00,$00,$00,$00,$00 DB $00,$00,$00,$00,$00,$00,$01,$01,$01,$01 DB $01,$01,$01,$01,$01,$01,$03,$01,$01,$01 DB $01,$01,$01,$01,$01,$09,$00,$00,$00,$00 DB $00,$00,$00,$00,$00,$00,$00,$00,$01,$01 DB $01,$01,$01,$01,$01,$01,$01,$01,$03,$01 DB $01,$01,$01,$01,$01,$01,$01,$09,$00,$00 DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00 DB $01,$01,$01,$01,$01,$01,$01,$01,$01,$01 DB $03,$01,$01,$01,$01,$01,$01,$01,$01,$09 DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00 DB $00,$00,$01,$01,$01,$01,$01,$01,$01,$01 DB $01,$01,$03,$01,$01,$01,$01,$01,$01,$01 DB $01,$09,$00,$00,$00,$00,$00,$00,$00,$00 DB $00,$00,$00,$00,$01,$01,$01,$01,$01,$01 DB $01,$01,$01,$01,$08,$06,$06,$06,$06,$06 DB $06,$06,$06,$07,$00,$00,$00,$00,$00,$00 DB $00,$00,$00,$00,$00,$00,$01,$01,$01,$01 DB $01,$01,$01,$01,$01,$01,$03,$5E,$4E,$5A DB $5D,$50,$01,$01,$01,$09,$00,$00,$00,$00 DB $00,$00,$00,$00,$00,$00,$00,$00,$01,$01 DB $01,$01,$01,$01,$01,$01,$01,$01,$03,$01 DB $01,$01,$01,$01,$01,$01,$01,$09,$00,$00 DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00 DB $01,$01,$01,$01,$01,$01,$01,$01,$01,$01 DB $08,$06,$06,$06,$06,$06,$06,$06,$06,$07 DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00 DB $00,$00,$01,$01,$01,$01,$01,$01,$01,$01 DB $01,$01,$03,$57,$50,$61,$50,$57,$01,$01 DB $01,$09,$00,$00,$00,$00,$00,$00,$00,$00 DB $00,$00,$00,$00,$01,$01,$01,$01,$01,$01 DB $01,$01,$01,$01,$03,$01,$01,$01,$01,$01 DB $01,$01,$01,$09,$00,$00,$00,$00,$00,$00 DB $00,$00,$00,$00,$00,$00,$01,$01,$01,$01 DB $01,$01,$01,$01,$01,$01,$03,$01,$01,$05 DB $05,$05,$05,$01,$01,$09,$00,$00,$00,$00 DB $00,$00,$00,$00,$00,$00,$00,$00,$01,$01 DB $01,$01,$01,$01,$01,$01,$01,$01,$03,$01 DB $01,$01,$01,$01,$01,$01,$01,$09,$00,$00 DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00 DB $01,$01,$01,$01,$01,$01,$01,$01,$01,$01 DB $03,$01,$01,$01,$01,$01,$01,$01,$01,$09 DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00 DB $00,$00 sBigGameplayTileMapEnd:: ENDC