Questions about score code and how it works

mAnthon

New member
I'm using the maze module and am having trouble with score. Collectible and killing monsters all give 1 point. How can I add more collectible types with various points? I know how to create the different tiles and assign scripts to them, just not sure how to code it. Like if I want to make Coin = 1 point, and Statue = 50 points, a Large Coin = 100 points

Looking thought the scripts, I see the code for adding score
AddValue #$08, myScore, #$01, #$02

When I change the $01 to any number 01 - 09, it works. But when I got 10 and above, it updates the score to show random numbers and text, such as 1B and 2M. How do I choose how many points to add?

Also for monsters, a similar question as with tiles. I can create new monsters but I cannot find how to assign a different score value to each. If I want each of the 4 slimes in the maze tutorial to have a differnet point total, like 1, 5, 10, and 20, how do I do that?
 
Top Bottom