Having trouble compiling code? Getting an unexpected error? Player not appearing on screen? Seeking answers on how to do a particular thing? This is the forum you're looking for, to ask other NESmaker users for assistance.
- Posts: 256
- Joined: Sun May 13, 2018 10:02 am
So this code in platform module handles how the monster is killed upon being stomped:
Code: Select all
;;; JUMP ON MONSTER
;; INCREASE SCORE
AddValue #$06, myScore, #$01, #$00
;;;constant how many places, what variable, how much to change (0-9), what place to change (0=ones, 1=tens, etc etc etc)
It works and isn't buggy at all (as far as I've noticed), but I want it to observe monster health and hurt them instead of killing them instantly. Anyone knows what changes I have to make to this code to make it work? For anyone interested it's part of handle object collision script for platform module, starts on line 176
- Posts: 44
- Joined: Tue Sep 25, 2018 4:33 pm
- Location: Illinois
I was wondering the same thing.