Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - ASM hack requests
  
User name:
Password:
Reply:
 

UserPost
Glyph Phoenix
Posts: 527/745
By attacking them in certain ways, Koopas do stay in their shells instead of popping out. That's actually an interesting idea. Maybe I'll trace the code that executes when Koopas are jumped on later.
AP
Posts: 128/333
I don't think this hack exists, but I was thinking about a hack in which the Koopa Troopas are like the classic (SMB & SMB3) ones (stomp on them, wait long enough and they come back from their shells as Koopa Troopas). I did read of a way of making Koopas not pop out of their shells when stomped, but the shells aren't like the classic Koopas. Perhaps this can be done by using some of the Buzzy Beetle code for the Koopa Troopas, since SMW Buzzy Beetles are like their classic counterparts, which are like the classic Koopa Troopas. Maybe some people would like to use the classic Koopa Troopas for their hacks.
Sukasa
Posts: 1836/1981
Originally posted by HyperHacker
It's not hard to do by hand, but that's a LOT of code.


So is all of the code used in the bullet bill generator, my current project. BTW, I'll post what I find on that when I'm done.
HyperLamer
Posts: 6769/8210
Now that's a neat idea... dunno about the pushing down thing, but I bet it wouldn't be too hard to change the effects of eating shells.
Forte.EXE
Posts: 247/396
I apologize in advance if this was suggessted already but with the Koopa Shells, when you lash out with Yoshi's tounge, each color represents what it does *doesn't go through explaining what it does and crap*. How about adding some ASM that makes it swallowable once changing it with that one program *forgotten the name of it*, and after swallowing by pushing down, with a red shell, Mario becomes Fire Mario. A Green shell once swallowed makes little mario Big Mario, a Blue shell gives you a 1-up in that specific level ONCE after collecting the five dragon coins in that specific level, and the Yellow shell turns Mario into Cape Mario....
Koneko
Posts: 130/256
Sorry if someone has already made this somewhere, but...

How about a block that wraps you from the bottom of the screen to the top, in a horizontal level, and vise versa? Sort of like... Ice Cap Zone in Sonic 3. I'm not really sure about how the game handles scrolling, so I'm probably asking for the third moon of an asteroid here, but if it can be done, please show me how.

Or if it doesn't, please don't yell at me for being a n00b, k?
HyperLamer
Posts: 6745/8210
It's not hard to do by hand, but that's a LOT of code.
Sukasa
Posts: 1820/1981
HH, if you aren't sure then I'll just have to do it by hand and see... I'm pretty good at disassembling by hand.
Glyph Phoenix
Posts: 519/745
Ugh. Check the rom address thread. BMF tells you how.
Spel werdz rite
Posts: 77/108
I would like/NEED a block that is the opposite of the normal ! blocks.
It starts out filled and it turns dotted after the switch palace.
I think it's pretty easy to make, but my ASM powers are limited.
If someone really helpful will do this, can you make it for all 4 blocks.
Also, I really need a ! block with Fire flowers and one with a star.
Also, I could use the opposite, solid to dotted.
Thank you to anyone who does this,
there name will be in the credits of my hack.
Dylan Yoshi
Posts: 2/79
I have an idea...a custom block that gives you an imediate Yoshi of a random color, without having to go through the feed the Yoshi five enemies gag.
HyperLamer
Posts: 6698/8210
Originally posted by Smallhacker
Originally posted by HyperHacker
Of course both of those JSRs are listed under Reloc Addresses so I dunno where the hell they go.


If I recall correctly, it's like this:
If the address is 014A, it jumps to the 014Ath byte in the block code. Block tool adds the block code's rom position to all the relocated addresses and converts them to snes format or something like that.

Ah, that might help. But there's way too many jumps and calls to follow... so hell, here's the entire smb3.bin disassembly. Some parts are probably wrong due to 8/16-bit registers though.
00/8000: FA PLX
00/8001: AB PLB
00/8002: 28 PLP
00/8003: 60 RTS
00/8004: 08 PHP
00/8005: E2 20 SEP #$20
00/8007: 8B PHB
00/8008: AF 05 BD 7E LDA $7EBD05
00/800C: D0 04 BNE $8012
00/800E: A9 00 LDA #$00
00/8010: 80 02 BRA $8014
00/8012: A9 30 LDA #$30
00/8014: 48 PHA
00/8015: AB PLB
00/8016: C2 30 REP #$30
00/8018: DA PHX
00/8019: A5 9A LDA $9A
00/801B: 85 0C STA $0C
00/801D: A5 98 LDA $98
00/801F: 85 0E STA $0E
00/8021: A9 00 00 LDA #$0000
00/8024: E2 20 SEP #$20
00/8026: A5 5B LDA $5B
00/8028: 85 09 STA $09
00/802A: AD 33 19 LDA $1933
00/802D: F0 02 BEQ $8031
00/802F: 46 09 LSR $09
00/8031: A4 0E LDY $0E
00/8033: A5 09 LDA $09
00/8035: 29 01 AND #$01
00/8037: F0 0E BEQ $8047
00/8039: A5 9B LDA $9B
00/803B: 85 00 STA $00
00/803D: A5 99 LDA $99
00/803F: 85 9B STA $9B
00/8041: A5 00 LDA $00
00/8043: 85 99 STA $99
00/8045: A4 0C LDY $0C
00/8047: C0 00 CPY #$00
00/8049: 02 B0 COP $B0
00/804B: B4 AD LDY $AD,X
00/804D: 33 19 AND ($19,S),Y
00/804F: 0A ASL
00/8050: AA TAX
00/8051: BD A8 BE LDA $BEA8,X
00/8054: 85 65 STA $65
00/8056: BD A9 BE LDA $BEA9,X
00/8059: 85 66 STA $66
00/805B: 64 67 STZ $67
00/805D: AD 25 19 LDA $1925
00/8060: 0A ASL
00/8061: A8 TAY
00/8062: B1 65 LDA ($65),Y
00/8064: 85 04 STA $04
00/8066: C8 INY
00/8067: B1 65 LDA ($65),Y
00/8069: 85 05 STA $05
00/806B: 64 06 STZ $06
00/806D: A5 9B LDA $9B
00/806F: 85 07 STA $07
00/8071: 0A ASL
00/8072: 18 CLC
00/8073: 65 07 ADC $07
00/8075: A8 TAY
00/8076: B1 04 LDA ($04),Y
00/8078: 85 6B STA $6B
00/807A: 85 6E STA $6E
00/807C: C8 INY
00/807D: B1 04 LDA ($04),Y
00/807F: 85 6C STA $6C
00/8081: 85 6F STA $6F
00/8083: A9 7E LDA #$7E
00/8085: 85 6D STA $6D
00/8087: 1A INC
00/8088: 85 70 STA $70
00/808A: A5 09 LDA $09
00/808C: 29 01 AND #$01
00/808E: F0 09 BEQ $8099
00/8090: A5 99 LDA $99
00/8092: 4A LSR
00/8093: A5 9B LDA $9B
00/8095: 29 01 AND #$01
00/8097: 80 05 BRA $809E
00/8099: A5 9B LDA $9B
00/809B: 4A LSR
00/809C: A5 99 LDA $99
00/809E: 2A ROL
00/809F: 0A ASL
00/80A0: 0A ASL
00/80A1: 09 20 ORA #$20
00/80A3: 85 04 STA $04
00/80A5: E0 00 00 CPX #$0000
00/80A8: F0 05 BEQ $80AF
00/80AA: 18 CLC
00/80AB: 69 10 ADC #$10
00/80AD: 85 04 STA $04
00/80AF: A5 98 LDA $98
00/80B1: 29 F0 AND #$F0
00/80B3: 18 CLC
00/80B4: 0A ASL
00/80B5: 2A ROL
00/80B6: 85 05 STA $05
00/80B8: 2A ROL
00/80B9: 29 03 AND #$03
00/80BB: 05 04 ORA $04
00/80BD: 85 06 STA $06
00/80BF: A5 9A LDA $9A
00/80C1: 29 F0 AND #$F0
00/80C3: 4A LSR
00/80C4: 4A LSR
00/80C5: 4A LSR
00/80C6: 85 04 STA $04
00/80C8: A5 05 LDA $05
00/80CA: 29 C0 AND #$C0
00/80CC: 05 04 ORA $04
00/80CE: 85 07 STA $07
00/80D0: C2 20 REP #$20
00/80D2: A5 09 LDA $09
00/80D4: 29 01 00 AND #$0001
00/80D7: D0 19 BNE $80F2
00/80D9: A5 1A LDA $1A
00/80DB: 38 SEC
00/80DC: E9 80 00 SBC #$0080
00/80DF: AA TAX
00/80E0: A4 1C LDY $1C
00/80E2: AD 33 19 LDA $1933
00/80E5: F0 22 BEQ $8109
00/80E7: A6 1E LDX $1E
00/80E9: A5 20 LDA $20
00/80EB: 38 SEC
00/80EC: E9 80 00 SBC #$0080
00/80EF: A8 TAY
00/80F0: 80 17 BRA $8109
00/80F2: A6 1A LDX $1A
00/80F4: A5 1C LDA $1C
00/80F6: 38 SEC
00/80F7: E9 80 00 SBC #$0080
00/80FA: A8 TAY
00/80FB: AD 33 19 LDA $1933
00/80FE: F0 09 BEQ $8109
00/8100: A5 1E LDA $1E
00/8102: 38 SEC
00/8103: E9 80 00 SBC #$0080
00/8106: AA TAX
00/8107: A4 20 LDY $20
00/8109: 86 08 STX $08
00/810B: 84 0A STY $0A
00/810D: A5 98 LDA $98
00/810F: 29 F0 01 AND #$01F0
00/8112: 85 04 STA $04
00/8114: A5 9A LDA $9A
00/8116: 4A LSR
00/8117: 4A LSR
00/8118: 4A LSR
00/8119: 4A LSR
00/811A: 29 0F 00 AND #$000F
00/811D: 05 04 ORA $04
00/811F: A8 TAY
00/8120: 68 PLA
00/8121: E2 20 SEP #$20
00/8123: 97 6B STA [$6B],Y
00/8125: EB XBA
00/8126: 97 6E STA [$6E],Y
00/8128: EB XBA
00/8129: C2 20 REP #$20
00/812B: 0A ASL
00/812C: A8 TAY
00/812D: 4B PHK
00/812E: 62 15 00 PER $008146
00/8131: AF 05 BD 7E LDA $7EBD05
00/8135: D0 09 BNE $8140
00/8137: F4 4C 80 PEA $804C
00/813A: 5C FB C0 00 JMP $00C0FB
00/813E: 80 07 BRA $8147
00/8140: F4 5F 80 PEA $805F
00/8143: 5C FF C0 30 JMP $30C0FF
00/8147: AB PLB
00/8148: 28 PLP
00/8149: 60 RTS
00/814A: 08 PHP
00/814B: C2 30 REP #$30
00/814D: 5A PHY
00/814E: DA PHX
00/814F: AA TAX
00/8150: A5 03 LDA $03
00/8152: 48 PHA
00/8153: 20 04 00 JSR $0004
00/8156: 68 PLA
00/8157: 85 03 STA $03
00/8159: FA PLX
00/815A: 7A PLY
00/815B: 28 PLP
00/815C: 60 RTS
00/815D: 08 PHP
00/815E: C2 30 REP #$30
00/8160: 5A PHY
00/8161: DA PHX
00/8162: AA TAX
00/8163: A5 03 LDA $03
00/8165: 48 PHA
00/8166: A5 0A LDA $0A
00/8168: 85 9A STA $9A
00/816A: A5 0C LDA $0C
00/816C: 85 98 STA $98
00/816E: A5 0F LDA $0F
00/8170: 48 PHA
00/8171: 20 04 00 JSR $0004
00/8174: 68 PLA
00/8175: 85 0F STA $0F
00/8177: 68 PLA
00/8178: 85 03 STA $03
00/817A: FA PLX
00/817B: 7A PLY
00/817C: 28 PLP
00/817D: 60 RTS

00/817E: 08 PHP
00/817F: C2 30 REP #$30
00/8181: 5A PHY
00/8182: DA PHX
00/8183: A5 03 LDA $03
00/8185: 48 PHA
00/8186: 8B PHB
00/8187: E2 30 SEP #$30
00/8189: AF 05 BD 7E LDA $7EBD05
00/818D: D0 05 BNE $8194
00/818F: A9 02 LDA #$02
00/8191: 48 PHA
00/8192: 80 03 BRA $8197
00/8194: A9 32 LDA #$32
00/8196: 48 PHA
00/8197: AB PLB
00/8198: 20 49 04 JSR $0449
00/819B: EA NOP
00/819C: AF 05 BD 7E LDA $7EBD05
00/81A0: D0 08 BNE $81AA
00/81A2: A9 00 LDA #$00
00/81A4: 22 63 86 02 JSR $028663
00/81A8: 80 06 BRA $81B0
00/81AA: A9 00 LDA #$00
00/81AC: 22 63 86 32 JSR $328663
00/81B0: A2 25 LDX #$25
00/81B2: 20 04 00 JSR $0004
00/81B5: C2 30 REP #$30
00/81B7: AB PLB
00/81B8: 68 PLA
00/81B9: 85 03 STA $03
00/81BB: FA PLX
00/81BC: 7A PLY
00/81BD: 28 PLP
00/81BE: 60 RTS

00/81BF: 08 PHP
00/81C0: C2 30 REP #$30
00/81C2: 5A PHY
00/81C3: DA PHX
00/81C4: A5 03 LDA $03
00/81C6: 48 PHA
00/81C7: 8B PHB
00/81C8: A5 0A LDA $0A
00/81CA: 85 9A STA $9A
00/81CC: A5 0C LDA $0C
00/81CE: 85 98 STA $98
00/81D0: A5 0F LDA $0F
00/81D2: 48 PHA
00/81D3: E2 30 SEP #$30
00/81D5: AF 05 BD 7E LDA $7EBD05
00/81D9: D0 05 BNE $81E0
00/81DB: A9 02 LDA #$02
00/81DD: 48 PHA
00/81DE: 80 03 BRA $81E3
00/81E0: A9 32 LDA #$32
00/81E2: 48 PHA
00/81E3: AB PLB
00/81E4: A9 0F LDA #$0F
00/81E6: 14 9A TRB $9A
00/81E8: 14 98 TRB $98
00/81EA: A9 00 LDA #$00
00/81EC: CF 05 BD 7E CMP $7EBD05
00/81F0: D0 06 BNE $81F8
00/81F2: 22 63 86 02 JSR $028663
00/81F6: 80 04 BRA $81FC
00/81F8: 22 63 86 32 JSR $328663
00/81FC: 20 49 04 JSR $0449
00/81FF: A2 25 LDX #$25
00/8201: 20 04 00 JSR $0004
00/8204: C2 30 REP #$30
00/8206: 68 PLA
00/8207: 85 0F STA $0F
00/8209: AB PLB
00/820A: 68 PLA
00/820B: 85 03 STA $03
00/820D: FA PLX
00/820E: 7A PLY
00/820F: 28 PLP
00/8210: 60 RTS
00/8211: A0 03 B9 LDY #$B903
00/8214: CD 16 F0 CMP $F016
00/8217: 04 88 TSB $88
00/8219: 10 F8 BPL $8213
00/821B: C8 INY
00/821C: A5 9A LDA $9A
00/821E: 99 D1 16 STA $16D1,Y
00/8221: A5 9B LDA $9B
00/8223: 99 D5 16 STA $16D5,Y
00/8226: A5 98 LDA $98
00/8228: 99 D9 16 STA $16D9,Y
00/822B: A5 99 LDA $99
00/822D: 99 DD 16 STA $16DD,Y
00/8230: AD 33 19 LDA $1933
00/8233: F0 1E BEQ $8253
00/8235: A5 9A LDA $9A
00/8237: 38 SEC
00/8238: E5 26 SBC $26
00/823A: 99 D1 16 STA $16D1,Y
00/823D: A5 9B LDA $9B
00/823F: E5 27 SBC $27
00/8241: 99 D5 16 STA $16D5,Y
00/8244: A5 98 LDA $98
00/8246: 38 SEC
00/8247: E5 28 SBC $28
00/8249: 99 D9 16 STA $16D9,Y
00/824C: A5 99 LDA $99
00/824E: E5 29 SBC $29
00/8250: 99 DD 16 STA $16DD,Y
00/8253: A9 01 99 LDA #$9901
00/8256: CD 16 A9 CMP $A916
00/8259: 06 99 ASL $99
00/825B: F8 SED
00/825C: 18 CLC
00/825D: 60 RTS
00/825E: 08 PHP
00/825F: AD AD 14 LDA $14AD
00/8262: D0 16 BNE $827A
00/8264: A5 19 LDA $19
00/8266: F0 04 BEQ $826C
00/8268: A9 D0 85 LDA #$85D0
00/826B: 7D A9 0F ADC $0FA9,X
00/826E: 14 9A TRB $9A
00/8270: 14 98 TRB $98
00/8272: 20 0C 03 JSR $030C
00/8275: EA NOP
00/8276: EA NOP
00/8277: EA NOP
00/8278: EA NOP
00/8279: EA NOP
00/827A: 28 PLP
00/827B: 60 RTS
00/827C: 08 PHP
00/827D: AD AD 14 LDA $14AD
00/8280: D0 03 BNE $8285
00/8282: 20 7E 01 JSR $017E
00/8285: 28 PLP
00/8286: 60 RTS
00/8287: 08 PHP
00/8288: AD AD 14 LDA $14AD
00/828B: D0 17 BNE $82A4
00/828D: BD 86 16 LDA $1686,X
00/8290: 29 04 D0 AND #$D004
00/8293: 10 BD BPL $8252
00/8295: C8 INY
00/8296: 14 C9 TRB $C9
00/8298: 09 D0 09 ORA #$09D0
00/829B: A5 0F LDA $0F
00/829D: C9 02 F0 CMP #$F002
00/82A0: 03 20 ORA $20,S
00/82A2: BF 01 28 60 LDA $602801,X
00/82A6: 08 PHP
00/82A7: AD AD 14 LDA $14AD
00/82AA: D0 11 BNE $82BD
00/82AC: BD 86 16 LDA $1686,X
00/82AF: 29 04 D0 AND #$D004
00/82B2: 0A ASL
00/82B3: BD C8 14 LDA $14C8,X
00/82B6: C9 0A D0 CMP #$D00A
00/82B9: 03 20 ORA $20,S
00/82BB: BF 01 28 60 LDA $602801,X
00/82BF: 20 7E 01 JSR $017E
00/82C2: 60 RTS
00/82C3: 08 PHP
00/82C4: C2 20 REP #$20
00/82C6: A9 2B 00 LDA #$002B
00/82C9: 20 4A 01 JSR $014A
00/82CC: 28 PLP
00/82CD: 60 RTS
00/82CE: 08 PHP
00/82CF: C2 20 REP #$20
00/82D1: A9 2F 01 LDA #$012F
00/82D4: 20 4A 01 JSR $014A
00/82D7: 28 PLP
00/82D8: 60 RTS
00/82D9: 08 PHP
00/82DA: EA NOP
00/82DB: EA NOP
00/82DC: EA NOP
00/82DD: EA NOP
00/82DE: EA NOP
00/82DF: A9 D0 85 LDA #$85D0
00/82E2: 7D 20 7E ADC $7E20,X
00/82E5: 01 28 ORA ($28,X)
00/82E7: 60 RTS
00/82E8: A9 2A 8D LDA #$8D2A
00/82EB: FC 1D C2 JSR ($C21D,X)
00/82EE: 20 DA A9 JSR $A9DA
00/82F1: 25 00 AND $00
00/82F3: 20 4A 01 JSR $014A
00/82F6: FA PLX
00/82F7: E2 20 SEP #$20
00/82F9: 60 RTS
00/82FA: A9 29 LDA #$29
00/82FC: 8D FC 1D STA $1DFC
00/82FF: C2 20 REP #$20
00/8301: DA PHX
00/8302: A9 25 00 LDA #$0025
00/8305: 20 4A 01 JSR $014A
00/8308: FA PLX
00/8309: E2 20 SEP #$20
00/830B: 60 RTS
00/830C: 08 PHP
00/830D: DA PHX
00/830E: 5A PHY
00/830F: 8B PHB
00/8310: A5 19 LDA $19
00/8312: D0 60 BNE $8374
00/8314: AF 05 BD 7E LDA $7EBD05
00/8318: D0 04 BNE $831E
00/831A: A9 02 LDA #$02
00/831C: 80 02 BRA $8320
00/831E: A9 32 LDA #$32
00/8320: 48 PHA
00/8321: AB PLB
00/8322: A2 00 A0 LDX #$A000
00/8325: 03 BD ORA $BD,S
00/8327: 89 87 BIT #$87
00/8329: 99 01 19 STA $1901,Y
00/832C: 8A TXA
00/832D: 1A INC
00/832E: 99 99 16 STA $1699,Y
00/8331: A9 01 LDA #$01
00/8333: 99 9D 16 STA $169D,Y
00/8336: A5 9A LDA $9A
00/8338: 99 A5 16 STA $16A5,Y
00/833B: A5 9B LDA $9B
00/833D: 99 AD 16 STA $16AD,Y
00/8340: A5 98 LDA $98
00/8342: 99 A1 16 STA $16A1,Y
00/8345: A5 99 LDA $99
00/8347: 99 A9 16 STA $16A9,Y
00/834A: A9 08 LDA #$08
00/834C: 99 C5 16 STA $16C5,Y
00/834F: A9 00 LDA #$00
00/8351: 99 C1 16 STA $16C1,Y
00/8354: AD 33 19 LDA $1933
00/8357: 4A LSR
00/8358: 6A ROR
00/8359: 85 08 STA $08
00/835B: A2 00 BD LDX #$BD00
00/835E: 3A DEC
00/835F: 87 99 STA [$99]
00/8361: B1 16 LDA ($16),Y
00/8363: BD 3E 87 LDA $873E,X
00/8366: 99 B5 16 STA $16B5,Y
00/8369: 8A TXA
00/836A: 05 08 ORA $08
00/836C: 99 C9 16 STA $16C9,Y
00/836F: 20 11 02 JSR $0211
00/8372: 80 03 BRA $8377
00/8374: 20 7E 01 JSR $017E
00/8377: AB PLB
00/8378: 7A PLY
00/8379: FA PLX
00/837A: 28 PLP
00/837B: 60 RTS
00/837C: 08 PHP
00/837D: E2 20 SEP #$20
00/837F: 48 PHA
00/8380: 29 0F AND #$0F
00/8382: 18 CLC
00/8383: 6D 33 0F ADC $0F33
00/8386: C9 0A CMP #$0A
00/8388: 90 06 BCC $8390
00/838A: EE 22 0F INC $0F22
00/838D: 38 SEC
00/838E: E9 0A SBC #$0A
00/8390: 8D 33 0F STA $0F33
00/8393: 68 PLA
00/8394: 4A LSR
00/8395: 4A LSR
00/8396: 4A LSR
00/8397: 4A LSR
00/8398: 18 CLC
00/8399: 6D 32 0F ADC $0F32
00/839C: C9 0A CMP #$0A
00/839E: 90 06 BCC $83A6
00/83A0: EE 31 0F INC $0F31
00/83A3: 38 SEC
00/83A4: E9 0A SBC #$0A
00/83A6: 8D 32 0F STA $0F32
00/83A9: EB XBA
00/83AA: 29 0F AND #$0F
00/83AC: 18 CLC
00/83AD: 6D 31 0F ADC $0F31
00/83B0: C9 0A CMP #$0A
00/83B2: 90 08 BCC $83BC
00/83B4: A9 09 LDA #$09
00/83B6: 8D 33 0F STA $0F33
00/83B9: 8D 32 0F STA $0F32
00/83BC: 8D 31 0F STA $0F31
00/83BF: 28 PLP
00/83C0: 60 RTS
00/83C1: C2 20 REP #$20
00/83C3: A9 10 00 LDA #$0010
00/83C6: 20 7C 03 JSR $037C
00/83C9: A9 25 00 LDA #$0025
00/83CC: 20 4A 01 JSR $014A
00/83CF: E2 20 SEP #$20
00/83D1: 60 RTS
00/83D2: C2 20 REP #$20
00/83D4: A9 50 00 LDA #$0050
00/83D7: 20 7C 03 JSR $037C
00/83DA: A9 25 00 LDA #$0025
00/83DD: 20 4A 01 JSR $014A
00/83E0: E2 20 SEP #$20
00/83E2: 60 RTS
00/83E3: C2 20 REP #$20
00/83E5: A9 00 01 LDA #$0100
00/83E8: 20 7C 03 JSR $037C
00/83EB: A9 25 00 LDA #$0025
00/83EE: 20 4A 01 JSR $014A
00/83F1: E2 20 SEP #$20
00/83F3: 60 RTS
00/83F4: AF 0B 01 7E LDA $7E010B
00/83F8: 29 01 AND #$01
00/83FA: F0 08 BEQ $8404
00/83FC: A9 00 LDA #$00
00/83FE: EB XBA
00/83FF: A9 20 LDA #$20
00/8401: 20 4A 01 JSR $014A
00/8404: 60 RTS
00/8405: AF 0B 01 7E LDA $7E010B
00/8409: 29 02 AND #$02
00/840B: F0 08 BEQ $8415
00/840D: A9 00 LDA #$00
00/840F: EB XBA
00/8410: A9 20 LDA #$20
00/8412: 20 4A 01 JSR $014A
00/8415: 60 RTS
00/8416: AF 0B 01 7E LDA $7E010B
00/841A: 29 04 AND #$04
00/841C: F0 08 BEQ $8426
00/841E: A9 00 LDA #$00
00/8420: EB XBA
00/8421: A9 20 LDA #$20
00/8423: 20 4A 01 JSR $014A
00/8426: 60 RTS
00/8427: AF 0B 01 7E LDA $7E010B
00/842B: 29 08 AND #$08
00/842D: F0 08 BEQ $8437
00/842F: A9 00 LDA #$00
00/8431: EB XBA
00/8432: A9 20 LDA #$20
00/8434: 20 4A 01 JSR $014A
00/8437: 60 RTS
00/8438: 08 PHP
00/8439: C2 20 REP #$20
00/843B: A9 1E 01 LDA #$011E
00/843E: 20 4A 01 JSR $014A
00/8441: 28 PLP
00/8442: 60 RTS

;Sensitive block
00/8443: 08 PHP
00/8444: 20 7E 01 JSR $017E
00/8447: 28 PLP
00/8448: 60 RTS

00/8449: AD B3 0D LDA $0DB3
00/844C: 0A ASL
00/844D: 6D B3 0D ADC $0DB3
00/8450: AA TAX
00/8451: BD 34 0F LDA $0F34,X
00/8454: 18 CLC
00/8455: 69 01 9D ADC #$9D01
00/8458: 34 0F BIT $0F,X
00/845A: BD 35 0F LDA $0F35,X
00/845D: 69 00 9D ADC #$9D00
00/8460: 35 0F AND $0F,X
00/8462: BD 36 0F LDA $0F36,X
00/8465: 69 00 9D ADC #$9D00
00/8468: 36 0F ROL $0F,X
00/846A: 20 11 02 JSR $0211
00/846D: 60 RTS
Sukasa
Posts: 1810/1981
Here you go: MAP16PP.ips
Glyph Phoenix
Posts: 512/745
Blah. Nintendo didn't need map16++ for their SMW. But if I need Map16++ to do this, I'll use it. I just don't like adding extra stuff to my rom that I can't control.

Google couldn't help me find the download, so I think I'm going to need you to upload that file... unless somebody around here knows how to change Map16 via custom block code.
Sukasa
Posts: 1809/1981
So what did you want the code to do? If you want it to Ah, what you'd want to do is download MAP16++.ips and patch that to a backup of your ROM, then have a block's code be this:

PHP
REP #$30
LDY #$0000
LDA #$0025
JSL $1A817A
PLP
RTS


Set sprite interaction L/R to 0, and everything else to -1. That should make it so that the block becomes block 25, graphics and all. If it doesn't, I'm sorry. Oh, and if you need map16++, please PM me and I'll hot it on my site so you can download it.
Glyph Phoenix
Posts: 511/745
Um... zero? That's all I ever set it to. Sprite interaction to 0 and all other interactions to -1. If you mean what the block was set to act like in LM, I set it to 130.

Then a koopa hit the block, activated the JSL, and a block below Mario turned into a note block that popped out a star. I Alt-F4'd it right there; I hate glitches.
Sukasa
Posts: 1807/1981
I meant to have LDY #$25, not LDY #$00 for the first line. Also, GP, what was the sprite interaction set to in the block?
Smallhacker
Posts: 2042/2273
Originally posted by HyperHacker
Of course both of those JSRs are listed under Reloc Addresses so I dunno where the hell they go.


If I recall correctly, it's like this:
If the address is 014A, it jumps to the 014Ath byte in the block code. Block tool adds the block code's rom position to all the relocated addresses and converts them to snes format or something like that.
HyperLamer
Posts: 6674/8210
Sorry, the newline code must have changed in V1.B. I didn't notice because I have layouts off this month to save bandwidth (went over the limit again ).
Glyph Phoenix
Posts: 505/745
I tried Sensitive Block code. The problem is that if Mario isn't touching the block, it screws up. At least, I think that's the problem, because a Koopa touched the block that was supposed to smash and the block Mario was standing on glitched up.

I can't figure out reloc addresses, anyway.

And HH, your scrolling code block really blows. In my browser it has a height of a single text line. Fix it.
This is a long thread. Click here to view it.
Acmlm's Board - I2 Archive - Super Mario World hacking - ASM hack requests


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.006 seconds.