The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Script wont compile

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old July 29th, 2016 (8:29 PM). Edited July 30th, 2016 by i0Bjhansen0.
i0Bjhansen0's Avatar
i0Bjhansen0 i0Bjhansen0 is offline
 
Join Date: Mar 2016
Age: 27
Gender: Male
Posts: 130
I am working with someone to make abilities similar to Swarm, Overgrow, Blaze, and Torrent. I am ready to compile but it won't work. I can't see what error it is giving me because the window only lasts for a couple frames. If someone can take a look at the script to see what might be the problem that would help greatly. Or if someone could tell me how to get the batch file to stay on the screen that would help me figure out the error.

[EDIT] I figured out how to make it stay on screen. Turns out that some of the commands aren't valid. LSLS, LSRS, and MULS. Someone else gave me the code to use and I expanded it. Not sure what they used to get the commands. I'm trying to use HackMew's ASM compiler for this.

[EDIT] After fixing those commands it turns out another error was with the LDR R1, [SP,#0x4C+var_28]. The person I got the script from said that on the IDA they looked at, that is what the original Swarm script was using but putting it into the compiler caused an error. They told me to change var_28 to 0x28. Then I just added 0x4C to 0x28 to get 0x74. I'm not sure if that's right.
Attached Files
File Type: zip PowerupAbilities.zip‎ (876 Bytes, 5 views) (Save to Dropbox)
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old July 30th, 2016 (2:12 AM).
pokedude9 pokedude9 is offline
Creator (with Diego) of AME and ASE
 
Join Date: Apr 2016
Gender: Male
Posts: 31
Line 5: .global typeabilities
Unnecessary statement because typeabilities does not name a label in your code... change it to .global Swarm, that will put "Swarm" as top-most function.

MULS and LSLS:
These commands are not standard Thumb. You need to change those to MUL and LSL respectively.
__________________
Awesome Map Editor
Awesome Script Editor
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old July 30th, 2016 (10:23 AM).
i0Bjhansen0's Avatar
i0Bjhansen0 i0Bjhansen0 is offline
 
Join Date: Mar 2016
Age: 27
Gender: Male
Posts: 130
Quote:
Originally Posted by pokedude9 View Post
Line 5: .global typeabilities
Unnecessary statement because typeabilities does not name a label in your code... change it to .global Swarm, that will put "Swarm" as top-most function.

MULS and LSLS:
These commands are not standard Thumb. You need to change those to MUL and LSL respectively.
Would that include LSRS >> LSR? There is also a MOVS command. It didn't say it was wrong but should that stay that way or should I turn it into MOV?
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:08 AM.