Code:
[ENABLE] alloc(TeleHack,1024) label(ChangeTele) label(SkipChange) label(ReturnTele) 005536E3: jmp TeleHack nop nop ReturnTele: TeleHack: movzx ebx,word ptr [eax] cmp bx,0483 // check for Python Castle -> Tomb of the Black Dragon je ChangeTele cmp bx,4E20 // check for Braiken Castle -> Draco Desert je ChangeTele cmp bx,2B8C // check for North Morte -> Acquirai Ruins je ChangeTele cmp bx,048D // check for tomb of the black dragon -> Cursed Mazed je ChangeTele jmp SkipChange ChangeTele: mov word ptr [eax+00000106],0005 mov word ptr [eax+0000010C],0005 SkipChange: movzx ebx,word ptr [eax+00000104] jmp ReturnTele [DISABLE] dealloc(TeleHack) 005536E3: movzx ebx,word ptr [eax+00000104]
// check for Python Castle -> Tomb of the Black Dragon X
// check for North Morte -> Acquirai Ruins X
// check for tomb of the black dragon -> Cursed Mazed X






