bazz

Phoenix 4.3 player12 Cheats patch

Sep 4th, 2015
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.82 KB | None | 0 0
  1. --- player12.asm.orig   2015-09-05 00:22:14.000000000 -0400
  2. +++ player12.asm    2015-09-05 00:16:29.000000000 -0400
  3. @@ -129,27 +129,37 @@ handle_input:
  4.  select_weapon_2:
  5.          ld      a,(weapon_2)
  6.          or      a
  7. +#ifndef ENABLE_CHEATS
  8.          ret     z
  9.          ld      (hl),a
  10. +#else
  11. +        ld      (hl),1
  12. +#endif
  13.          ret
  14.  
  15.  select_weapon_3:
  16.          ld      a,(weapon_3)    
  17.          or      a
  18. +#ifndef ENABLE_CHEATS
  19.          ret     z
  20. +#endif
  21.          ld      (hl),2
  22.          ret
  23.  
  24.  select_weapon_4:
  25.          ld      a,(weapon_4)
  26.          or      a
  27. +#ifndef ENABLE_CHEATS
  28.          ret     z
  29. +#endif
  30.          ld      (hl),3
  31.          ret
  32.  
  33.  select_weapon_5:
  34.          ld      a,(weapon_5)
  35.          or      a
  36. +#ifndef ENABLE_CHEATS
  37.          ret     z
  38. +#endif
  39.          ld      (hl),4
  40.          ret
Advertisement
Add Comment
Please, Sign In to add comment