Hack for clayfighter, same problem as BL...

This commit is contained in:
z_demo_z
2002-06-13 23:45:12 +00:00
parent 107dd8aa80
commit 2360914b6e

View File

@@ -1636,6 +1636,21 @@ NEWSYM headerhack
mov byte[opexec358],187 mov byte[opexec358],187
.notds9 .notds9
mov esi,[romdata]
add esi,0FFC0h
cmp dword[esi],'CLAY'
jne .notclayfighter
cmp dword[esi+4],' FIG'
jne .notclayfighter
cmp dword[esi+8],'HTER'
jne .notclayfighter
cmp dword[esi+12],' '
jne .notclayfighter
mov esi,[romdata]
add esi,01A10B9h
mov byte[esi],0DEh
.notclayfighter
mov esi,[romdata] mov esi,[romdata]
add esi,0FFC0h add esi,0FFC0h
cmp dword[esi],'Baha' cmp dword[esi],'Baha'