Fix for Zero the Squirrel
This commit is contained in:
@@ -1461,6 +1461,7 @@ NEWSYM headerhack
|
|||||||
mov byte[hirqmode2],0
|
mov byte[hirqmode2],0
|
||||||
mov byte[ENVDisable],0
|
mov byte[ENVDisable],0
|
||||||
mov byte[MMXSRAMFix],0
|
mov byte[MMXSRAMFix],0
|
||||||
|
mov byte[osm2dis],0
|
||||||
|
|
||||||
mov esi,[romdata]
|
mov esi,[romdata]
|
||||||
add esi,07FC0h
|
add esi,07FC0h
|
||||||
@@ -1537,6 +1538,16 @@ NEWSYM headerhack
|
|||||||
mov byte[esi+1],0BCh ; RTS instead of jumping to a rts
|
mov byte[esi+1],0BCh ; RTS instead of jumping to a rts
|
||||||
.nothomealone
|
.nothomealone
|
||||||
|
|
||||||
|
mov esi,[romdata]
|
||||||
|
add esi,07FC0h
|
||||||
|
cmp dword[esi],'Zero'
|
||||||
|
jne .notzerosquirrel
|
||||||
|
cmp dword[esi+4],' the'
|
||||||
|
jne .notzerosquirrel
|
||||||
|
cmp dword[esi+8],' Kam'
|
||||||
|
jne .notzerosquirrel
|
||||||
|
mov byte[osm2dis],1
|
||||||
|
.notzerosquirrel
|
||||||
|
|
||||||
mov esi,[romdata]
|
mov esi,[romdata]
|
||||||
add esi,0FFC0h
|
add esi,0FFC0h
|
||||||
|
|||||||
Reference in New Issue
Block a user