@@ -161,12 +161,12 @@ StartGame:
161161 .end:
162162 pop dx
163163 dec byte [ si + Column.posX ]
164- add si , column_size
164+ add si , Column_size
165165 inc dl
166166 cmp dl , [ colCnt ]
167167 jne .columnLoop
168168
169- mov al , column_size ; spawn new Column if necessary
169+ mov al , Column_size ; spawn new column if necessary
170170 mov ah , [ colCnt ]
171171 dec ah
172172 mul ah
@@ -206,7 +206,7 @@ StartGame:
206206 jmp GameOver
207207 .noGroundCollision:
208208
209- cmp word [ colCnt ], 0 ; remove first Column if off view. add score. check Column collision
209+ cmp word [ colCnt ], 0 ; remove first column if off view. add score. check column collision
210210 je .noRemove
211211 mov al , [ cols + Column.posX ]
212212 inc al
@@ -237,10 +237,10 @@ StartGame:
237237 dec byte [ colCnt ]
238238 cld
239239 mov si , cols
240- add si , column_size
240+ add si , Column_size
241241 mov di , cols
242242 mov al , [ colCnt ]
243- mov ah , column_size
243+ mov ah , Column_size
244244 mul ah
245245 xor cx , cx
246246 mov cl , al
@@ -314,7 +314,7 @@ ClearScreen:
314314; args: dl = x
315315; invalidates: ax, bx, dx, di
316316SpawnColumn:
317- mov al , column_size
317+ mov al , Column_size
318318 mov ah , [ colCnt ]
319319 mul ah
320320 xor bx , bx
@@ -378,7 +378,7 @@ playerX db 15 ; const
378378playerY dd 0 . 0
379379playerYInt db 0
380380playerYVel dd 0 . 0
381- cols resb column_size * MAX_VISIBLE_COLUMNS
381+ cols resb Column_size * MAX_VISIBLE_COLUMNS
382382colCnt db 0
383383score dw 0
384384
@@ -396,4 +396,4 @@ updateInterval dd 1_000_000 / 20
396396restartDelay dd 250_000
397397
398398%include "commonSubroutines.nasm"
399- times 1200h - ($ - $$) db 0 ; take up 3 segments
399+ times ( 3 * 200h ) - ($ - $$) db 0 ; take up 3 segments
0 commit comments