[kidniki]+ Kid Niki/Yanchamaru
Posted: Wed Apr 30, 2025 10:52 am
kidniki.xml, kidnikiu.xml, kidnikib.xml, yanchamr.xml and lithero.xml
$E003 is not value but bit field so that setting/clearing bit may be correct instead of writing value.
Therefore, It's desirable that "Start this Level Again" in the official database based on 0.264 is the following.
It's handy to use "|=" (bit set) or "&=" (bit clear) though you need to replace "&=" with "&=" in xml format.
Code: Select all
<cheat desc="Finish this Level Now">
<script state="on">
<action>maincpu.pb@E003 |= 10</action>
</script>
</cheat>
<cheat desc="Always have Weapon">
<script state="run">
<action>maincpu.pb@E003 &= ~40</action>
</script>
</cheat>
Therefore, It's desirable that "Start this Level Again" in the official database based on 0.264 is the following.
Code: Select all
<cheat desc="Start this Level Again">
<script state="on">
<action>maincpu.pb@E003 |= 03</action>
</script>
</cheat>