User File #638493265433382096

Upload All User Files

#638493265433382096 (unlisted) - Segapede Camhack

Segapede (Prototype).lua
Game: Segapede ( Genesis, see all files )
32 downloads
Uploaded 4/21/2024 8:02 PM by Induviel (see all 12)
A camhack made by Spikestuff, helps see what's going on in the ending.
while true do
    memory.usememorydomain("68K RAM");

    xpos = memory.read_s16_be(0x86DE)
    ypos = memory.read_s16_be(0x86E2)

    xcam = memory.read_s16_be(0x8210)
    ycam = memory.read_s16_be(0x8214)

    if xpos > 6305 and ypos > 1285 then
        memory.write_s16_be(0x8210, xpos-180);
        memory.write_s16_be(0x8214, ypos-175);
    end
emu.frameadvance()
end;