Banner
Views: 240,588,016
Time: 2013-06-19 03:21:34 PM
29 users online: aj6666, Alcaro, Bio, chineesmw, Daizo Dee Von, Dipalon, Gloomy Star, o HuFlungDu, kianworld, kirbymaster1, Koopster, KY2010, LadiesMan_217, LaughingLuigi, Lightvayne, Luckiest3, Lui37, Magiluigi, MrDeePay, NezDark, Nintandopartnes, Onomatopoeia, Qwholl, Red Chameleon, Rextep, o ShadowPhoenix, StinNoO, TheSuperRotom, o Undy - Guests: 46 - Bots: 29Users: 23,083 (1,325 active)
Latest: Mastergamerlive
Tip: Stay up-to-date with new tool and resource releases on the SMW hacking scene by viewing this forum.
Directional coins
Forum Index - SMW Hacking - General 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
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 - General 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 - 2013 - SMW Central
Legal Information - Link To Us


Total queries: 29

Menu