Skip to content

conditional cheats not working #1030

@jiangsheng

Description

@jiangsheng

I have a conditional cheat in the form of AABBCC:00?10, basically if the value at AABBCC is 0, write 0x10 to the address.

The game starts with memory zero out, so 0x10 is written to the memory address AABBCC, and c.cond_true is set to true.

However, after starting a new game, the value at AABBCC is again zero , and this time, 10 is not written, because nether path in
if (c.conditional) will be taken in S9xUpdateCheatInMemory. c.cond_true is set to true, and both c.saved_byte and c.cond_byte are 0.

I could not deduct the meaning of cond_true from its name or usage. so I don't really know how to fix this. What is it used for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions