CLDC 2020's submission period is over and judging will begin soon! Thanks for participating!
Views: 826,848,396
16 users online:  bebn legg, Blynd, Cascade, codfish1002, Darkslayer, GMCHacker91, kamekku14, katun24, Mechanical koopa, NewPointless, Powblock532, SmoothySmooth, Spads, toad64, Vaporaze, xamexer - Guests: 45 - Bots: 73 Users: 44,180 (2,518 active)
Latest: SirSlippyUwU
Tip: Make a backup of your hack before using any external tools on it.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.
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

Total queries: 16


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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