Language…
11 users online: anonimzwx, DanMario24YT, howardadam1126, iamtheratio, JPhanto, kurtistrydiz, playagmes169, Rhubarb44230, Saela, TheOrangeToad,  YouFailMe - Guests: 276 - Bots: 365
Users: 64,795 (2,378 active)
Latest user: mathew

Autowalk question (solved)

How do I make this sprite not make Mario go left when hitting a solid wall?



Do you mean just making him stop in front of a wall? In that case change everything after the LOOOOOL label to

Code
LOOOOOL:
	if !DisableControls == 1
		LDA #$FF
		STA $0DAA
		STA $0DAC
	endif
	LDA #$01
	STA $76
	LDA $77
	AND #$01
	BNE +
	LDA #!Speed
	STA $7B
	RTS
+	STZ $7B
	RTS
Gave me errors.
error: tmpasm.asm: line 46: invalid opcode or command [if $00 == 1]
error: tmpasm.asm: line 50: invalid opcode or command [endif]
INIT 008000
MAIN 008014



Oh yeah romi's spritetool supports stuff other than asar lol. Either change the 1 on the last line of the cfg file to a 2 or remove everything between and including the if and the endif
Now it says "MAIN label not found". I changed the number in the ASM file.



Are you sure that's all you changed? It works fine for me (And yes I also tried with romi's spritetool)
Yes.
Do I need to change one more thing?



if your rom file name has spaces then remove them. asar doesn't like them for some reason.
Thank you Erik557 and TheBiob.
Edit: Level 22!