Rev 5253 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5253 | Rev 5292 | ||
---|---|---|---|
Line 99... | Line 99... | ||
99 | xor eax,eax |
99 | xor eax,eax |
100 | mov [ecx+LEVEL_MAP_SIZE_X*LEVEL_MAP_SIZE_Y*4],eax |
100 | mov [ecx+LEVEL_MAP_SIZE_X*LEVEL_MAP_SIZE_Y*4],eax |
101 | ret |
101 | ret |
102 | ;--------------------------------------------------------------------- |
102 | ;--------------------------------------------------------------------- |
103 | harvest_of_death: |
103 | harvest_of_death: |
- | 104 | xor eax,eax |
|
104 | mov [death_of_protagonist],0 |
105 | mov [death_of_protagonist],al |
- | 106 | mov [npc_alive],al |
|
105 | mov esi,plan_level |
107 | mov esi,plan_level |
106 | mov ecx,LEVEL_MAP_SIZE_X*LEVEL_MAP_SIZE_Y |
108 | mov ecx,LEVEL_MAP_SIZE_X*LEVEL_MAP_SIZE_Y |
107 | cld |
109 | cld |
108 | ;-------------------------------------- |
110 | ;-------------------------------------- |
109 | .loop: |
111 | .loop: |
Line 115... | Line 117... | ||
115 | cmp al,BASE_LAVA |
117 | cmp al,BASE_LAVA |
116 | je .base_lava |
118 | je .base_lava |
Line 117... | Line 119... | ||
117 | 119 | ||
118 | cmp al,BASE_WATER |
120 | cmp al,BASE_WATER |
- | 121 | je .base_water |
|
- | 122 | ||
- | 123 | cmp ah,OBJECT_FINAL_MONSTER |
|
- | 124 | ja .counter |
|
- | 125 | ||
119 | je .base_water |
126 | mov [npc_alive],1 |
120 | ;-------------------------------------- |
127 | ;-------------------------------------- |
121 | .counter: |
128 | .counter: |
122 | dec ecx |
129 | dec ecx |