Views: 1,002,987,364
14 users online: bandicoot, Bullymario, Cal-of-Gearva, Daffster, Faro, Fullcannon, idkzx,  LMNtals, Masked Man, NewDerp, NintendoMarioBros4, Qwoll, Sixcorby, Sokobansolver - Guests: 93 - Bots: 225 Users: 54,823 (2,029 active)
Tip: Check this thread to find extremely useful diagrams and data.
Not logged in.
Bowser Defeated Level Warp by Bensalot
Forum Index - Valley of Bowser - Moderation Questions - Patches - Bowser Defeated Level Warp by Bensalot
Pages: « 1 » Link
File Name: Bowser Defeated Level Warp
Submitted: by Bensalot
Authors: Bensalot
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch makes it so you can use the original Bowser fight but have it cut to a sublevel after the fireworks finish. Useful if you want to use the Bowser fight but also have it cut to custom credits or cutscenes. It can be configured in the asm file to teleport the player to whatever sublevel you want. It is also configured to teleport the player depending on if it is Mario or Luigi (Player 1 or Player 2) to separate levels. Useful if you want to have separate cutscenes depending on the player that defeated Bowser.
I'm rejecting this for optimization issues. The main one is that the entire code to teleport the player is basically duplicated for the Mario and Luigi cases, besides the instruction to set the value for $00. An optimal way to do this would be to load the value depending on the current player, then join the two branches to execute everything else.
There's also some minor optimization issues: the first is the "CMP #$00" after "LDA $0DB3|!base": LDA already sets the Z flag, so to check against 0 the CMP is redundant. Also, the hijacked code could be optimized in different ways to avoid executing the four NOPs: for example, you can do "autoclean JSL BowserFightWarp : RTS", or use "autoclean JML BowserFightWarp" instead and, in the code in free space, jump back to the RTS with "JML $03C7A6" instead of using RTL.
Pages: « 1 » Link
Forum Index - Valley of Bowser - Moderation Questions - Patches - Bowser Defeated Level Warp by Bensalot

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2022 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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