Views: 845,191,152
28 users online: 4iko, Aurel509, caiqueleo, Dark Prince, Green Jerry, HamOfJustice, Idunno, Infinity, Jazzman287, KaidenThelens,  KevinM, Kusrry, Luks, MrJ'lien, NopeContest, Nowieso, pakkie, PokerFace, RAFAEL_M_C_,  RussianMan, SammmUuU, Sancles, shadowboyultra, somesupersaiyan, SuperHack64, ThatDamnCatgirl, TSian7, Xergiac - Guests: 65 - Bots: 68 Users: 46,482 (2,729 active)
Latest: TSian7
Tip: Use palettes that don't burn the eyes. A blazing bright yellow and a night-black are not pleasant.Not logged in.
Directional coins
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Directional coins
Pages: « 1 »
I have a question about the directional coins-question block. I noticed that if you hit him once, go to another level area and comes back later the question block is obviously still there, but if you hit him a second time, only a single coin will appear. Is there a way to change that, so that he gives you directional coins even if you've hitted him once?

I already tried changing item memory settings or I used different map16-pages for the block, but that doesn't change anything.

(Yes, I know I've asked it before, but since I don't got any response in Basic Hacking, I wanted to give it another try...)


SNES $02895F, change from F0 to 80

Here's the code that handles that in case you're interested:
CODE_028956:        B5 9E         LDA RAM_SpriteNum,X       ; \ Branch if not Directional Coins 
CODE_028958:        C9 45         CMP #$45                  ;  | 
CODE_02895A:        D0 16         BNE CODE_028972           ; / 
CODE_02895C:        AD 32 14      LDA $1432                 ; \ If there's already been a directional coin,
CODE_02895F:        F0 06         BEQ CODE_028967           ;  | erase the sprite			     
CODE_028961:        9E C8 14      STZ RAM_SpriteStatus,X    ;  | and jump to make a coin instead	     
CODE_028964:        4C 9D 88      JMP CODE_02889D           ; /			

Many thanks for that, you helped me a lot with that!


Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Directional coins

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy