Language…
18 users online: anonimzwx, crocodileman94, DanMario24YT, Domokun007,  Eevee, eltiolavara9, HaruMKT, hhuxy, Knight of Time, margot, Maw, MegaSonic1999, nonamelol1, OnlySpaghettiCode, Pizzagamer9791, ShoopDaWhoop, StarWolf3000, VLSkoot - Guests: 289 - Bots: 309
Users: 64,795 (2,375 active)
Latest user: mathew

[SOLVED] Blockreator Block Not Working

I used Blockreator to make a block that is passable if Mario has collected 15 Yoshi Coins (Eggs in my hack), but in the game the block doesn't work.
If the acts like is set to 130, the block isn't passable at all, even if Mario has collected a total of 15 Yoshi Coins.
And if the acts like is set to 25, the block is passable even if he has less than 15.

Here's a screenshot of Blockreator:


I'm also using imamelia's numerical 3-digit Yoshi Coin counter.



Two possible solutions worth trying out:

  • Add "Otherwise" + "Make this block solid" to the end of that code

  • Use "Act like a certain block" instead of making it passable or solid, and use blocks 25 and 130 where appropriate.



  • Other Submissions of mine!
    None of the soulutions worked.
    First solution:

    Second solution:






    It's because the vanilla dragon coin count isn't used by the 3-digit one (which uses $7F9C80 by default).

    So try something like this, with the acts like set to 130:

    Code
    MarioBelow:
    	REP #$20
    	LDA $7F9C80
    	CMP.w #15	; how many dragon coins to check for
    	SEP #$20
    	BCC Return
    	LDY #$00	; make passable
    	LDA #$25
    	STA $1693
    Return:
    	RTL


    Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
    This block doesn't work as well (same issues as the Blockreator block).

    The ASM file opened in Notepad:


    And I didn't change the RAM address of the total number of collected Yoshi Coins.

    Is this unfixable?



    Well, if you want the block to be only passable from below then the block is working as it should (okay, not quite as passable but you get my point). However, if the block should be passable from everyside, the code should be put right before "Return:" but after the other labels.

    Nothing is unfixable in the realms of ASM, lol.
    I moved the block's code to the WallBody label and the block is now working.

    This is now solved.