[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
label(change_teleport)
005540F3:
jmp newmem
nop
nop
returnhere:
newmem:
originalcode:
movzx ebx,word ptr [eax]
cmp bx,0483 // check for Python Castle -> Tomb of the Black Dragon
je change_teleport
cmp bx,4E20 // check for Braiken Castle -> Draco Desert
je change_teleport
cmp bx,2B8C // check for North Morte -> Acquirai Ruins
je change_teleport
cmp bx,048D // check for tomb of the black dragon -> Cursed Mazed
je change_teleport
jmp exit
change_teleport:
mov word ptr [eax+00000106],0005
mov word ptr [eax+0000010C],0005
exit:
movzx ebx,word ptr [eax+00000104]
jmp returnhere
[DISABLE]
dealloc(newmem)
005542C3:
movzx ebx,word ptr [eax+00000104]
\
Happy ******* Hannukah
~If not allowed delete it modz yo.
|