So Nowhere Have I Ever Seen Victory Quotes Mentioned

Discussion of hacking, editing and developments in Advance Wars games.
Remember, no Rom Requests
User avatar
Luke Herzen

So Nowhere Have I Ever Seen Victory Quotes Mentioned

Post by Luke Herzen » Sat Sep 01, 2018 10:53 pm

Yo guys, basically what I said in the title. I'm making a hack of AW2(4 Missions complete) and there seems to be nothing about where the game determines what text ID is the victory quote for a given Mission.
I've seen that there was a short piece of dialogue for Cleanup that contained the text ID with the victory quote, but removing that didn't change anything, and I couldn't find the ID in the campaign map header/ map header;

tl;dr I have no clue where the game determines campaign victory quotes and before I go the annoying route and just go with the IDs the game uses, I wanted to ask if someone here has some knowledge I missed about there being a table for that somewhere or about something I missed in the map headers.
Thanks in advance,
Luke Herzen

User avatar
RadioShadow
Rank: Holding the Mega Drive controller
Location: UK, England

Re: So Nowhere Have I Ever Seen Victory Quotes Mentioned

Post by RadioShadow » Sun Sep 09, 2018 6:15 pm

I'll have a look when I got more time, but the Text ID (integer) is the offset location, which that offset will contain the actual offset (long) to the text.

I would recommend looking at the CO Date and figuring out how the Victory Quotes are called. Once you figured out the text ID the game is calling, you might have better luck finding it (I suspect is in the Campaign dialogue code).

User avatar
Xenesis
Tri-Star CO
Tri-Star CO
Rank: Hydrocarbon Inspector
3DS Code: 2535-4646-7163
Location: 0x020232DD

Re: So Nowhere Have I Ever Seen Victory Quotes Mentioned

Post by Xenesis » Mon Sep 10, 2018 9:01 pm

Yep, so I just checked my files, it's not actually listed anywhere how the game chooses which text ID to use for the victory text. Not in the CO Data, mission data or any of the mission scripting. So...I decided to investigate. It's stupider than I could have possibly imagined.

There's a subroutine at 0x0807A3AC. It is mostly a jump table with hardcoded text IDs for each mission. So you can either edit the entries in the ASM code there...or recycle the text IDs.
IST wrote:Even the worst individual needs to discover the joys of a chicken statue that is also a pregnant blonde housewife.

User avatar
Luke Herzen

Re: So Nowhere Have I Ever Seen Victory Quotes Mentioned

Post by Luke Herzen » Mon Sep 10, 2018 10:13 pm

Thanks for the research.
Wow, that's needlessly complicated. Recycling it is! :gesalute:

Who is online

Users browsing this forum: Multivac [Bot] and 0 guests