Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4604 → Rev 4605

/programs/games/tetris/trunk/tetris.asm
180,7 → 180,7
 
adr32: cmp ah,LEFT_KEY
jne adr_30
cmp dword[pauses], 1 ; fixes pause bug
cmp dword[pauses], 1 ; If game is paused, dont allow movement
je adr4000
dec dword [current_block_x]
call check_crash
190,7 → 190,7
 
adr_30: cmp ah,RIGHT_KEY
jne adr_31
cmp dword[pauses], 1 ; fixes pause bug
cmp dword[pauses], 1 ; If game is paused, dont allow movement
je adr3000
inc dword [current_block_x]
call check_crash
200,7 → 200,7
 
adr_31: cmp ah,UP_KEY
jne adr51
cmp dword[pauses], 1 ; fixes pause bug
cmp dword[pauses], 1 ; If game is paused, dont allow movement
je adr50
mov edx,[current_block_pointer]
mov edx,[edx+16]
213,7 → 213,7
 
adr51: cmp ah,DOWN_KEY
jne adr61
cmp dword[pauses], 1 ; fixes bug on resume
cmp dword[pauses], 1 ; If game is paused, disable force_down
je adr52
cmp [force_down], 1
jne scendi
222,7 → 222,7
 
adr61: cmp ah,' '
jne adr62
cmp dword[pauses], 1 ; fixes bug on resume
cmp dword[pauses], 1 ; If game is paused, disable force_down
je adr62
cmp [force_down], 1
jne scendi