File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
galactic-armada/src/main/states/gameplay/objects Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ InitializePlayer::
4141 ld [ wPlayerPositionX + 1 ], a
4242 ld [ wPlayerPositionY + 1 ], a
4343
44-
44+
4545CopyPlayerTileDataIntoVRAM:
4646 ; Copy the player's tile data into VRAM
4747 ld de , playerShipTileData
@@ -77,7 +77,7 @@ UpdatePlayer_HandleInput:
7777 and PADF_A
7878 call nz , TryShoot
7979; ANCHOR_END: player-update-start
80-
80+
8181
8282; ANCHOR: player-update-flashing
8383 ld a , [ mPlayerFlash + 0 ]
@@ -99,7 +99,7 @@ UpdatePlayer_UpdateSprite_CheckFlashing:
9999 ld a , c
100100 sbc 0
101101 ld c , a
102-
102+
103103
104104UpdatePlayer_UpdateSprite_DecreaseFlashing:
105105
@@ -144,7 +144,7 @@ UpdatePlayer_UpdateSprite:
144144 ld b , a
145145 ld a , [ wPlayerPositionX + 1 ]
146146 ld d , a
147-
147+
148148 srl d
149149 rr b
150150 srl d
@@ -168,7 +168,7 @@ UpdatePlayer_UpdateSprite:
168168 rr c
169169 srl e
170170 rr c
171-
171+
172172 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
173173 ; Drawing the palyer metasprite
174174 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -212,7 +212,7 @@ TryShoot:
212212; ANCHOR: player-damage
213213DamagePlayer::
214214
215-
215+
216216
217217 xor a
218218 ld [ mPlayerFlash ], a
You can’t perform that action at this time.
0 commit comments