Code: Select all
<cheat desc="infinite credit">
<script state="run">
<action>maincpu.pb@c000 = 99</action>
</script>
</cheat>
<cheat desc="infinite life">
<script state="run">
<action>maincpu.pb@c02d = 09</action>
</script>
</cheat>
<cheat desc="always have power up">
<comment>player gfx and music don't change</comment>
<script state="run">
<action>maincpu.pb@c702 = 02</action>
</script>
</cheat>
<cheat desc="finish current level now (rescue)">
<script state="on">
<action>maincpu.pb@c5de = 00</action>
</script>
</cheat>
- Rescue all people.
- Put out all fire.
- Catch helicopter to go to challenge stage.
The following ROM codes are WIP. Required more test.
Code: Select all
<cheat desc="keep a fireman (wip)">
<script state="on">
<action>maincpu.md@268a = 217e80c3</action>
<action>maincpu.mq@7e80 = f83ac6ec22fa8021</action>
<action>maincpu.mq@7e88 = 3e052801fe0fe6c6</action>
<action>maincpu.mq@7e90 = c3ec0021c6f83210</action>
<action>maincpu.mq@7e98 = ffffffffffff26a4</action>
<!--
7e80 | 21 80 fa : ld hl,$FA80
7e83 | 22 ec c6 : ld ($C6EC),hl
7e86 | 3a f8 c6 : ld a,($C6F8)
7e89 | e6 0f : and $0F
7e8b | fe 01 : cp $01
7e8d | 28 05 : jr z,$7E94
7e8f | 3e 10 : ld a,$10
7e91 | 32 f8 c6 : ld ($C6F8),a
7e94 | 21 00 ec : ld hl,$EC00
7e97 | c3 a4 26 : jp $26A4
-->
</script>
<script state="off">
<action>maincpu.md@268a = 21c5f432</action>
<action>maincpu.mq@7e80 = ffffffffffffffff</action>
<action>maincpu.mq@7e88 = ffffffffffffffff</action>
<action>maincpu.mq@7e90 = ffffffffffffffff</action>
<action>maincpu.mq@7e98 = ffffffffffffffff</action>
</script>
</cheat>
<cheat desc="auto fire (wip)">
<script state="on">
<action>maincpu.mq@24fc = 794328c0e6c1483a</action> <!-- ld a,($C148) / and $C0 -->
</script>
<script state="off">
<action>maincpu.mq@24fc = 7943280fe6c1473a</action>
</script>
</cheat>
<cheat desc="fast fire fighting (wip)">
<script state="on">
<action>maincpu.mb@291d = 01</action>
<action>maincpu.mb@2951 = 01</action>
</script>
<script state="off">
<action>maincpu.mb@291d = 1e</action>
<action>maincpu.mb@2951 = 3c</action>
</script>
</cheat>
<cheat desc="power up (wip)">
<script state="on">
<action>maincpu.md@2673 = ed7ea0cd</action>
<action>maincpu.mq@7ea0 = 02fec7023ac6fa22</action>
<action>maincpu.mq@7ea8 = ffffffc92b90cdd0</action>
<!--
7ea0 | 22 fa c6 : ld ($C6FA),hl
7ea3 | 3a 02 c7 : ld a,($C702)
7ea6 | fe 02 : cp $02
7ea8 | d0 : ret nc
7ea9 | cd 90 2b : call $2B90
7eac | c9 : ret
-->
</script>
<script state="off">
<action>maincpu.md@2673 = edc6fa22</action>
<action>maincpu.mq@7ea0 = ffffffffffffffff</action>
<action>maincpu.mq@7ea8 = ffffffffffffffff</action>
</script>
</cheat>