Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- player12.asm.orig 2015-09-05 00:22:14.000000000 -0400
- +++ player12.asm 2015-09-05 00:16:29.000000000 -0400
- @@ -129,27 +129,37 @@ handle_input:
- select_weapon_2:
- ld a,(weapon_2)
- or a
- +#ifndef ENABLE_CHEATS
- ret z
- ld (hl),a
- +#else
- + ld (hl),1
- +#endif
- ret
- select_weapon_3:
- ld a,(weapon_3)
- or a
- +#ifndef ENABLE_CHEATS
- ret z
- +#endif
- ld (hl),2
- ret
- select_weapon_4:
- ld a,(weapon_4)
- or a
- +#ifndef ENABLE_CHEATS
- ret z
- +#endif
- ld (hl),3
- ret
- select_weapon_5:
- ld a,(weapon_5)
- or a
- +#ifndef ENABLE_CHEATS
- ret z
- +#endif
- ld (hl),4
- ret
Advertisement
Add Comment
Please, Sign In to add comment