9,9 → 9,7 |
jne @f |
cmp [Activate_instrument],0 |
jne @f |
cmp [crossing],1 |
jne @f |
mov [finishing_crossing],1 |
;mov [crossing],2 |
call TakeButtonInstruments |
jmp still |
@@: |
35,12 → 33,10 |
|
;save instrumnets 10-40 |
cmp eax,40 |
jae no_save_last_instrument |
|
jae @f |
mov [Last_instrument],eax |
@@: |
|
no_save_last_instrument: |
|
cmp eax,10 |
je still |
|
57,31 → 53,22 |
je still |
|
cmp eax,51 |
jne no_palette_ |
|
jne @f |
call TakeButtonInstruments |
jmp still |
@@: |
|
no_palette_: |
|
cmp eax,17 |
je still |
|
cmp eax,21 |
jne no_allocation__ |
je still |
|
and [Activate_instrument],0 |
jmp still |
|
no_allocation__: |
|
cmp eax,20 |
jne no_kontur__ |
|
jne @f |
and [instrument_used],0 |
jmp still |
@@: |
|
no_kontur__: |
|
call TakeButtonInstruments |
jmp still |