Banner
Views: 236,492,820
Time: 2013-05-24 02:11:51 AM
10 users online: Akireyano, o Buster Beetle, Incognito, o K3fka, o Mippish, OVOXO, Quizler, silverthundr, TheSorrow, Yasuo - Guests: 13 - Bots: 13Users: 22,875 (1,272 active)
Latest: ratchtet
Tip: If it's possible to carry a tileset-specific sprite (such as a Buzzy Beetle or Bob-omb) through a pipe, make sure it has the correct graphics and sprite palette on the other side!
Dont carry anything?
Forum Index - SMW Hacking - General SMW Hacking Help - Dont carry anything?
Pages: « 1 »
Which code can I use in LevelASM not to carry any sprite. I searched in patches for a similar patch but there was nothing similar.

Greetings
Well, change this hex address and you're fine:

Originally posted by ROM Map
x0AC5C - Change from BEQ [F0] to BRA [80] and Mario will not be able to carry items by holding X or Y.


Edit: Also, unless you don't want to disable carrying for the whole game, instead of using that hex exit, use this sprite.
Last edited on 2012-06-17 11:39:00 PM by DiscoMan.
Quote
$7E:1470: Carrying something flag. Very similar to $7E:148F, with the difference that, if this flag is set, the player's graphics don't change, and throw blocks can still be picked up as long as $7E:148F remains zero. If used in a carryable custom sprite to check if the player is already carrying something, definitely combine it with $7E:148F to assure there are no exceptions.
#$00 = Carrying nothing; #$01 = carrying something.


Quote
7E:148F 1 byte Player Flag used to detect if the player is holding an object (throw block, key, shell, etc.) Also adjusts the player image, different from $7E:1470. This address does store its value to $7E:1470.
If the player is carrying something, this address should usually (not always, regarding the glitch) prevent the player from holding a second item.
#$00 = Carrying nothing; #$01 = carrying something.


Always ctrl+f the RAM map before asking questions like these, although in this situation I guess I don't totally blame you since the solution is a bit obtuse.
Thanks both Maxx and DiscoMan, altough I searched also the RAM map, I make a noob error. I did:

Code
LDA $1470 STA #$00


instead of

Code
LDA #$00 STA $1470


Again thanks!!!
Last edited on 2012-06-18 07:34:26 PM by mengrid.
Sorry for the dump in my own thread but thre is another problem now. When I start the level the code works but when I enter in another level, I can carry even if I have the code for that level in Level ASM. If helps there are giant koopas in the "another level".

Greetings
Pages: « 1 »
Forum Index - SMW Hacking - General SMW Hacking Help - Dont carry anything?

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: 28

Menu