create new tile types

You could probably get more tile types by combining them in the same script and checking a user variable, so if var = 0 run ice tile part of script else run jelly tile part.
 

digit2600

Member
UltraNarwhal said:
You could probably get more tile types by combining them in the same script and checking a user variable, so if var = 0 run ice tile part of script else run jelly tile part.

I was trying to do that actually, my reason being, to act as triggers for variables ... so that I could sling vars on the fly... but I actually found another solution to this problem which takes the weaponsUnlocked, and items checks to trigger off vars more dynamically by firing them off with an npc.

I think it was
Lda weaponsUnlocked
And #%00000001
Bne +
Lda #$01
Sta myVariable
+
Rts
 
Top Bottom