Views: 1,004,541,642
9 users online: autisticsceptile1993, Dustyized, Gurjinter, Knetog, OhMuramatsu, placeholdertest, Ralshi02, TCgamerboy2002, Zavok - Guests: 75 - Bots: 105 Users: 54,884 (2,023 active)
Latest: Dinkleberrg
Tip: Keep track of ALL patches and hex edits in case you need to transfer your data to a new ROM. It's definitely worth the trouble.
Not logged in.
Directional coins
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Directional coins
Pages: « 1 » Link
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 » Link
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 - 2022 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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