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 - Tonight on "things that shouldn't be so flippin' complicated" | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
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: 3953/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Spawning fireballs. How do you do it? All this is doing is setting X to one and playing fireball sounds: LDX #1 LDA $1714 ;Check fireball 1 BEQ fireball DEX LDA $1713 ;Check 2 BNE end fireball: LDY #$20 STY $C100 ;Unused LDA #5 STA $1713,X ;Enable fireball LDA $96 STA $171D,X ;Y pos (low) LDA $97 ;CLC ;ADC $C100 STA $1731,X ;Y pos (high) LDA $94 STA $173B,X ;X pos (low) LDA $95 STA $1727,X ;X pos (high) STZ $1745,X ;Y speed LDA #6 STA $174F,X ;X speed ;LDA #6 STA $1DFC ;Sound |
|||
Kario In Possession of a Stolen Shovel Level: 65 Posts: 1601/2082 EXP: 2321379 For next: 14249 Since: 03-15-04 From: Texas... Yeehaw! Since last post: 2 days Last activity: 17 hours |
| ||
You flippin took my word. Good find btw. |
|||
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: 3959/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Well, I found the game's fireball subroutine - $FEA8 (called from $D0AA when you shoot), but there's a bit of a problem. You have to JSR to it, which isn't exactly possible outside of bank 00. Anyone know how I can use it? Hopefully I can stick a small chunk of code in the bank to handle it, but maybe someone knows a better way... Also anyone know how to move the sprite layer? I've got a level set up where Mario stays still and layer 2 moves; problem is, the sprites don't move with it because Mario's technically still in the same place. [edit] Could you do 'JSR $1234' to jump to whatever address $1234 points to? I know some other instructions can do it... Also is it necessary to use JSL when calling code in RAM from bank 0? (edited by HyperHacker on 03-28-05 06:05 PM) (edited by HyperHacker on 03-28-05 06:13 PM) |
|||
HabsoluteFate Red Paratroopa Level: 23 Posts: 128/179 EXP: 58525 For next: 9198 Since: 03-15-04 From: Ottawa, Ontario, Canada Since last post: 10 days Last activity: 2 days |
| ||
Originally posted by HyperHacker The fireball sub routine is currently used by both Fire Mario and Yoshi. they jump into the sub routine at different locations. Here are some notes of mine when i was working on my new power up...i totally changed the design midway so the following code is rough notes:
warning: This code probably does not work and probably isnt very efficient Edit: I'm going to introduce a program soon that will allow moving of entire sub routines from one location to another..which should make things easier...i needed something like that anyways for my power up stuff. the program will also allow import/export of ASM code that way you can export a block of code, make edits, and import that block of code (although since odds are it wouldnt fit in the original location you will have to move that code somewhere else)...i'll keep you guys posted once its completed and tested (edited by HabsoluteFate on 03-28-05 06:28 PM) |
|||
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: 3960/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Originally posted by HabsoluteFate Erm, how are you doing that? You JSR to a different bank. And of course, there doesn't seem to be one free byte in bank 0. Way to waste space, Nintendo! (edited by HyperHacker on 03-28-05 07:28 PM) |
|||
HabsoluteFate Red Paratroopa Level: 23 Posts: 133/179 EXP: 58525 For next: 9198 Since: 03-15-04 From: Ottawa, Ontario, Canada Since last post: 10 days Last activity: 2 days |
| ||
Originally posted by HyperHackerOriginally posted by HabsoluteFate Op Code 22 can be interpretted as either JSL or JSR as far as what i have read... "The JSL instruction is an alias for JSR long." |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Super Mario World hacking - Tonight on "things that shouldn't be so flippin' complicated" | | | |