Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
1 user currently in Super Mario World hacking: |
Acmlm's Board - I2 Archive - Super Mario World hacking - The ASM routines thread | | | Thread closed |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 525/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
Hey. I came up with this thread as a way to help people who are making custom blocks, by supplying them with ASM routines they can use. Here are a few I've found around. By BMF: $00F5B7 / $77B7: Mario hurt (i.e. touched an enemy or spike) $00BEB0 Not sure what this one does 100%, Something to do with changing MAP16. LDA #$21, LDY #$03, JSL $00F17F: When activated in a custom block, creates brick debris and replaces the block with tile 25. It'll also bounce Mario upwards (since it's normally used when Mario spin-jumps on a block), but to avoid that, simply LDA $7D, PHA before the subroutine, then PLA, STA $7D afterwards. The SMB3-style brick code could be shrunk down a LOT by using this little routine. By HH: $00F606: Kill Mario By Kenny3900: $028663 = Exploding Block, Like Sprite 4C More about $028663: Putting LDA #$00 before JSR-ing it will result in exploding brown blocks, and putting LDA #$01 will result in exploding flashing blocks. $07/F7D2 is the routine for "initializing" sprites By Jonwil: $05B34A Gain Coin (edited by Darkflight on 05-08-05 04:50 AM) |
|||
Smallhacker Green Birdo SMW Hacking Moderator Level: 68 Posts: 1592/2273 EXP: 2647223 For next: 81577 Since: 03-15-04 From: Söderhamn, Sweden Since last post: 10 hours Last activity: 9 hours |
| ||
Finally! BTW... I'm pretty (which means not 100%) sure that $02/8000 is the drop item routine. Edit: Are all those SNES addresses? If not, I suggest that we use it as a standard, since you can't use PC addresses in ASM... (Duh ) Edit 2: Accidently posted a slightly wrong address. (edited by Smallhacker on 05-08-05 05:19 AM) (edited by Smallhacker on 05-08-05 05:58 AM) |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 526/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
eh.... I wouldn't know for sure. I simply copied them down and credited the discoverers. for all but the first one, I'd say they look SNES. The first has both, the PC address being second. | |||
blackhole89 LOLSEALS Moderator of ROM hacking EmuNET IRC network admin Head GM of TwilightRO Level: 47 Posts: 693/971 EXP: 739208 For next: 26995 Since: 03-15-04 From: Dresden/Germany Since last post: 14 hours Last activity: 12 hours |
| ||
What's the exact point of this thread? The memory locations thread used to be appropriate for things like that. Anyway~ $00/80FD - Load the song data for the overworld bank to the SPC $00/810E - Load the song data for the level bank to the SPC (It might be the other way around, though. Can't remember now) $00/811D - Copy N-SPC copier formatted data from the address stored at [$7E0000:$7E0002, big endian] in RAM to the SPC. For more information on N-SPC copier formatting, PM me. Hope that helps. ~blackhole89. |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 527/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
The point of this thread was to be a place where people could post subroutine locations, so people wouldn't have to wade through all the other stuff in the ROM locations threads. | |||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 4406/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Better to go through a few pages of that than have to track down a bunch of different threads for slightly different things. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Super Mario World hacking - The ASM routines thread | | | Thread closed |