diff --git a/DMGTRIS.GB b/DMGTRIS.GB index 8864c42..ca2d0e7 100644 Binary files a/DMGTRIS.GB and b/DMGTRIS.GB differ diff --git a/src/include/globals.asm b/src/include/globals.asm index 33af7e4..a55dae9 100644 --- a/src/include/globals.asm +++ b/src/include/globals.asm @@ -112,10 +112,12 @@ DEF TITLE_A EQU $99CD DEF TITLE_B EQU $99CF DEF TITLE_LEVEL EQU $996C DEF TITLE_ROLLS EQU $9A2F +DEF FIELD_RNGTELL EQU $9812 DEF FIELD_TOP_LEFT EQU $9800+1 DEF TILE_FIELD_EMPTY EQU 4 DEF TILE_PIECE_0 EQU 10 DEF TILE_0 EQU 66 +DEF TILE_0_FAINT EQU 196 DEF TILE_CLEARING EQU 124 DEF TILE_GHOST EQU 125 DEF TILE_A EQU 76 diff --git a/src/res/sources/tiles.gbr b/src/res/sources/tiles.gbr index 49b3803..f6549d3 100644 Binary files a/src/res/sources/tiles.gbr and b/src/res/sources/tiles.gbr differ diff --git a/src/res/tiles.inc b/src/res/tiles.inc index 4cf7cb7..81af435 100644 --- a/src/res/tiles.inc +++ b/src/res/tiles.inc @@ -410,6 +410,40 @@ Tiles:: DB $00,$00,$00,$00,$03,$03,$00,$00 DB $BA,$BA,$22,$22,$22,$22,$B2,$B2 DB $A2,$A2,$A2,$A2,$BB,$BB,$00,$00 + DB $00,$00,$00,$00,$00,$00,$00,$00 + DB $00,$00,$00,$00,$80,$80,$00,$00 + DB $07,$00,$05,$00,$05,$00,$05,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $02,$00,$06,$00,$02,$00,$02,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$01,$00,$02,$00,$04,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$01,$00,$03,$00,$01,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $05,$00,$05,$00,$07,$00,$01,$00 + DB $01,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$04,$00,$07,$00,$01,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$04,$00,$07,$00,$05,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$01,$00,$02,$00,$02,$00 + DB $02,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$05,$00,$07,$00,$05,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$05,$00,$07,$00,$01,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$05,$00,$07,$00,$05,$00 + DB $05,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$05,$00,$06,$00,$05,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$04,$00,$04,$00,$04,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $06,$00,$05,$00,$05,$00,$05,$00 + DB $06,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$04,$00,$06,$00,$04,$00 + DB $07,$00,$00,$00,$00,$00,$00,$00 + DB $07,$00,$04,$00,$06,$00,$04,$00 + DB $04,$00,$00,$00,$00,$00,$00,$00 TilesEnd:: diff --git a/src/state_gameplay.asm b/src/state_gameplay.asm index 602f1bc..3d7bf6c 100644 --- a/src/state_gameplay.asm +++ b/src/state_gameplay.asm @@ -63,6 +63,12 @@ SwitchToGameplay:: ld bc, GameplayTilemapEnd - GameplayTilemap call UnsafeMemCopy + ; Place a tell on the screen for RNG rerolls. + ld hl, FIELD_RNGTELL + ldh a, [hRNGRerolls] + add a, TILE_0_FAINT + ld [hl], a + ; Clear OAM. call ClearOAM call SetNumberSpritePositions