MarkyJoe1990 Posted January 2, 2014 Share Posted January 2, 2014 (edited) Instead of making multiple threads for single ASM codes, I'm just gonna toss all my ASM here. Prolly easier on the lads too. WARNING: Some codes might not function properly! Let me know if this is the case! Check If All Ally Units Dead Source [spoiler=How It Works]Returns true if there are no more Ally Units fielded. [spoiler=How To Use]Insert it into a location in your ROM, then, in your events, add ASME [EventID] [Event Triggered] [Offset of ASM+1] Check If More Than 3 Ally Units Dead Source [spoiler=How It Works]Returns true if more than three ally units have died. [spoiler=How To Use]Insert it into a location in your ROM, then, in your events, add ASME [EventID] [Event Triggered] [Offset of ASM+1] Set Default Options Source [spoiler=How It Works]How it works - Sets the following options when the ASM is called in your custom events: Animation - 2 (Display backgrounds) Game Speed - Fast Text Speed - Max Terrain - On Unit - Panel Combat - Strat Show Objective - On Subtitle Help - Off Auto Cursor - Off Autoend Turns - On Music - On Sound Effects - On Window Color - 3 [spoiler=How To Use]If you like the current options, skip to Step 9. If you don't like these options, you can change them. Here's how: 1) Open your ROM in Visual Boy Advance. 2) Start a chapter. 3) Go into the options menu. 4) Set your desired options. 5) Go to Tools -> Memory Viewer 6) Go to 0x0202BC38. The first three bytes show the values for your current options. 7) Open up my ASM dump that you downloaded on this thread. 8) Change the following bytes. Shown below: Red is the first byte. Blue is the second. Green is the third. 9) Insert the DMP into the desired location of your ROM using a Hex Editor 10) Call the ASM code in your custom events using "ASMC [Offset of inserted ASM]+1" I made this ASM with guidance from Nintenlord's hacking notes. Edited January 2, 2014 by MarkyJoe1990 Quote Link to comment Share on other sites More sharing options...
Shauni Posted January 2, 2014 Share Posted January 2, 2014 That set default options patch. mmbby... Quote Link to comment Share on other sites More sharing options...
Brendor Posted January 2, 2014 Share Posted January 2, 2014 I thought about making one of these for my routines, maybe I will. anyways, do you have the source for these? I'd like a do a custom "if X allies are dead" for a FE5 type deal where if an ally dies and the number of enemies > number of allies then the map music changes Quote Link to comment Share on other sites More sharing options...
MarkyJoe1990 Posted January 2, 2014 Author Share Posted January 2, 2014 I thought about making one of these for my routines, maybe I will. anyways, do you have the source for these? I'd like a do a custom "if X allies are dead" for a FE5 type deal where if an ally dies and the number of enemies > number of allies then the map music changes It just so happens that I do. Updated first post. Quote Link to comment Share on other sites More sharing options...
MarkyJoe1990 Posted January 2, 2014 Author Share Posted January 2, 2014 There ya go, Brendor. Included the sources. Quote Link to comment Share on other sites More sharing options...
Brendor Posted January 2, 2014 Share Posted January 2, 2014 Yeah the FE5 idea is definitely plausible now Don't worry I'll give credit Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.