Views: 771,806,166
16 users online: bandicoot,  bebn legg, CalHal, chickaDEE Magazine, Dark Prince, DarkLion499,  Deeke, E-man38, Green Jerry, lbkaizo,  MarioFanGamer,  Meirdent, placeholdertest,  Sayuri, SuperMarioDs64, Tashiro - Guests: 51 - Bots: 199Users: 40,542 (1,855 active)
Latest: Alejendroxxx84
Tip: Even though good graphics may make people interested in your hack, what really counts is how fun it is to play.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 - 2019 - SMW Central
Legal Information - Privacy Policy - Link To Us

Total queries: 9


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • MFGG
  • Gaming Reinvented