Banner
The Old-School Level Design Contest ends in
9 DAYS, 10 HOURS, 6 MINUTES AND 12 SECONDS
Views: 892,389,166
Time:
18 users online: AppleBoy54321, Cheolpeoduck, cyphermur9t, ECS.98, Far, h.carrell, jc5500, JonnyManjiro, kaigem, katun24, l_priest, Maniek, PokerFace, ScatmanJones49, The WHG Modz, VLSkoot,  Wolfguy423, Zeproide - Guests: 39 - Bots: 145 Users: 50,065 (2,330 active)
Latest: MateoHincapie
Tip: Make a backup of your hack before using any external tools on it so you can revert to a previous version should anything go wrong.
Not logged in.
I need help with Peach text and enemy names
Forum Index - SMW Hacking - SMW Hacking Help - I need help with Peach text and enemy names
Pages: « 1 » Link
I need help to edit the Peach text that appears after defeating Bowser.



I also need to disable or remove the ending where enemy names appear... Is there an ASM patch that allows to do that?
What I want is simply that after the scene appears where Mario and Peach are together with the Yoshis (Where the text "THANK YOU" appears), Instead of the enemy names showing up, I just want the Mario, Luigi and Peach screen to appear along with the text "THE END".



NOTE:I have the custom power-ups patch and some Sprites (mostly mushrooms and coins) don't show their GFX (They only show an X)

Originally posted by Albert1234
I need help to edit the Peach text that appears after defeating Bowser.


If your message is not longer than the original one you can just edit the text table directly, otherwise you'll need a patch that allows for more letters. But anyway, this table can be found at $03D524:
Each 4 bytes here are used for one letter: the first is the X position, the second the Y position, the third is the tile number, the last is the YXPPCCCT properties. You can start just by changing the third number for each group of 4 bytes, to change which tiles will be actually drawn (to know the tile number, load GFX0D in SP1 in Lunar Magic and hover over the letter tiles). You also need to tell the game how many letters you're drawing, or it'll draw 84 like originally. This value is at $03AEBB.
So, to insert your new text just patch this with asar:
Code
org $03AEBB
	db <Number of letters you're drawing>

org $03D524
	<copy your table here>

warnpc $03D674

(the warnpc is to make sure your table isn't too big). If you need more characters than 84, then a small patch could be written that puts the table in free space and loads it from there.


Originally posted by Albert1234
I also need to disable or remove the ending where enemy names appear... Is there an ASM patch that allows to do that?
What I want is simply that after the scene appears where Mario and Peach are together with the Yoshis (Where the text "THANK YOU" appears), Instead of the enemy names showing up, I just want the Mario, Luigi and Peach screen to appear along with the text "THE END".


Patch this hex edit:
Code
org $00936F
	dw $963D,$9F7C,$968D
Ok... But, What should I write where it says "copy your table here"?
Copy the table I posted (the Big table), and change the numbers as I explained earlier.
Originally posted by KevinM
Copy the table I posted (the Big table), and change the numbers as I explained earlier.


Ok... But where it says "Number of letters you're drawing" do I have to put a value in decimal or hexadecimal?
You can use either... Numbers without any symbol before them are treated as decimal, if they have a $ then they're treated as hexadecimal. So "db $20" and "db 32" do the same thing.


I actually wrote a small tool a while back to help with editing the end text because manually writing that data would be incredibly difficult.

Note that the text is limited by the characters present in GFX00 and GFX0D; if you try to use characters not present in those files, the tool will throw an error. If you have added the character, add its tile number to the "tile mappings" table box on the right.

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
I already modified the text, but I modified the GFX0D file by adding other capital letters, but after inserting it into ROM it looks like it has received no modifications.

Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - I need help with Peach text and enemy names

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

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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