The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script This should work but it doesn't

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 April 24th, 2021 (10:09 AM).
JK0JK's Avatar
JK0JK JK0JK is offline
JK is JK
 
Join Date: Apr 2021
Location: ???, Portugal
Gender: Male
Nature: Calm
Posts: 25
I have found a post here that has everything I was looking for: a script that would easily change your overworld sprite based on few flags and variables.
https://www.pokecommunity.com/showpost.php?p=8620314&postcount=465

Problem is... XSE doesn't want to compile it. I know there is the compiled version of the code but I don't know how to use it.

When I try to compile the script, XSE says the following: "no #org/#seek directives found"
error.png

What can I do to fix this? Apparently it works wonders but XSE is being stubborn.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 24th, 2021 (10:19 AM).
Asith's Avatar
Asith Asith is offline
Uwao
 
Join Date: Nov 2020
Posts: 204
This is not a script. This is ASM Thumb code. You need a Thumb compiler
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old April 24th, 2021 (10:31 AM).
JK0JK's Avatar
JK0JK JK0JK is offline
JK is JK
 
Join Date: Apr 2021
Location: ???, Portugal
Gender: Male
Nature: Calm
Posts: 25
Quote:
Originally Posted by Asith View Post
This is not a script. This is ASM Thumb code. You need a Thumb compiler
W-what's the difference?
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old April 24th, 2021 (11:29 AM).
Asith's Avatar
Asith Asith is offline
Uwao
 
Join Date: Nov 2020
Posts: 204
Quote:
Originally Posted by JK0JK View Post
W-what's the difference?
An xse script is just used for general, usually overworld-based game functions. There's a strongly imposed limit to what it can do, because that's all it was ever designed to do. It's high-level and easy for developers to understand, at the expense of those limitations. XSE was made to compile that code.
ASM/Thumb is low-level, and is gba machine code. That means you can do almost anything with it, but it is much harder to understand. XSE has no idea what to do with code like that, it was only designed for the predictable, easy to understand code we use in scripting. To compile ASM into your game, you need a Thumb compiler. There are a couple floating around here.
You should look up a tutorial on compiling ASM for rom hacks to better understand what you're actually doing.
This is slightly more advanced stuff (but if all you're doing is compiling other people's code, you should be fine).
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old April 24th, 2021 (12:07 PM).
JK0JK's Avatar
JK0JK JK0JK is offline
JK is JK
 
Join Date: Apr 2021
Location: ???, Portugal
Gender: Male
Nature: Calm
Posts: 25
Alright, thanks
I'll look into it^^
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
Thread Tools

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:16 AM.