Views: 843,526,047
23 users online: autisticsceptile1993, Batata Douce, BootaNoBijuu, brickblock369, chickaDEE Magazine, Dark Prince, Dispace, GabrielJohn, imamelia,  JamesD28, JeremyG7, Kick, Kusrry, Langolango, LucasMegaStriker, Matheus2653, MirrorReflect,  monkey03297, natbergu, Nathrakus, Redwykelz, Super Maks 64, TickTockClock - Guests: 55 - Bots: 63 Users: 46,346 (2,845 active)
Latest: apollowo
Tip: Take advantage of easy to implement ASM hacks that can be found in the ROM map.Not logged in.
(for fun) Darkslayer's unreleasable blocks
Forum Index - Donut Plains - Creation Corner - (for fun) Darkslayer's unreleasable blocks
Pages: « 1 »
Hi guys.

Recently I got interested in logical operators in ASM and decided the most simple way to express them was to directly filter a value that updates often in the game: player's x-speed. I started with a block acts like 25, but soon realised acts like 130 is even funnier to do haha.
I want to keep a memory of these blocks effect so I'll just do it here for the laughs and giggles. Thanks for your attention.

db $37

JMP MarioBelow : JMP MarioAbove : JMP MarioSide
JMP SpriteV : JMP SpriteH
JMP Cape : JMP Fireball
JMP MarioCorner : JMP MarioBody : JMP MarioHead
JMP WallFeet : JMP WallBody

!PARAM_B = $7F
!PARAM_C = $7F

	LDA $7B
	AND !PARAM_B ;change to ORA or EOR
	AND !PARAM_C ;change to ORA or EOR
	STA $7B

As seen on Discord this needs more refinement since the code loads x-speed at every frame... But I don't know it's also very fun like this. So yeah :)

- ORA-1E/EOR-7F: when Mario's speed becomes 0 it goes all crazy, especially when trying to walk left. Mario begins to skate in place and doesn't fall off ledges.
- AND-6F/AND-1E: when trying to walk right Mario goes slow, when trying to walk left Mario is P-meter maxxed instantly.
- XOR-6F: Opposes a big resistance to walking in both x-directions.

Hey this is me, Darkslayer.
Pages: « 1 »
Forum Index - Donut Plains - Creation Corner - (for fun) Darkslayer's unreleasable blocks

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