0,5 script

10/25/2009 06:58 Alleyn#1
how would i get this memory region right here in red
and etc



[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
label(change_teleport)

005537E3:
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,0487 // check for Requies Beach -> Avalon Island
je change_teleport

cmp bx,048D // check for tomb of the black dragon -> Cursed Mazed
je change_teleport

cmp bx,0495 // check for Avalon Island -> Aquarius
je change_teleport

cmp bx,4E20 // check for Braiken Castle -> Draco Desert
je change_teleport

cmp bx,2B8C // check for North Morte -> Aquirai
je change_teleport

cmp bx,2BB0 // check for Space of Pilgrimage -> Morse Yahweh
je change_teleport

cmp bx,2B84 // check for Requies Coast -> The Qualine
je change_teleport


jmp exit

change_teleport:
mov word ptr [eax+00000106],0005 // change location to 0,5
mov word ptr [eax+0000010C],0005 // change location to 0,5

exit:
movzx ebx,word ptr [eax+00000104]
jmp returnhere


[DISABLE]
dealloc(newmem)
005537E3:
movzx ebx,word ptr [eax+00000104]