Search the Community
Showing results for tags 'scripting'.
Found 4 results
I have tried to change or replace items in the BW/B2W2 games, both items that can be found in the overworld and those given by NPCs. I have no previous experience with hex editing but I have done my best going through this forum and trying to grasp what I need to know to be able to do this. The problem I have now is that I cannot find the hex numbers for the various items within the script files for the various maps. If I open the script for a certain location, for example, Route 2 in Black and White, which is not too complicated but contains examples of various things, then there are both items on the ground and a scripted one at the beginning. Looking at this page: List of items by index number (Generation V) ... I can find the hex values for the items in the games, and I know that Route 2 is script file 319 in B/W. The problem is that I am unable to find the hex values for any of the items within the script code. I have looked through many, many different threads here trying to find out what I am doing wrong but without success. Could someone here who has experience with this kind of editing tell me what I am missing, where the hex numbers for the items can be found and if there is anything else I have misunderstood? Thanks in advance, I would be very grateful for any help.
Hey all, I created a macro system for event scripting in the DS generation of Pokémon games. It can be found here. Note: this only supports Black 2 and White 2 at the moment, and not all script commands from those games are in. Requirements To set it up, you will need: devkitARM (included with devkitPro). Python 3.4 or greater. Utilizing it: To start, make sure this is included at the top of your file: .align 2 .text .thumb .include "include/commands/(GAME_OF_CHOICE).s" Once you do that, make a label for the script you are writing: Example: # script goes here Then, add a new label at the top, and add pointers to your script like so: scripts: script <script label> Then, compile it using the Python script: python make_script.py build Once you do all of that, add the script to your game by finding the corresponding script NARC (in B2W2, it is a0/5/6), and replacing the script container that you want to (in SDSME, you can find a list of them, under the “script” section in the Map Headers tab). Profit! An example of a script in action can be seen here. If you are lost, there is an example script in the scripts folder which you can follow. Happy scripting!
I have been trying to create scripted encounters with wild Pokemon in BW2, those that use an overworld Pokemon sprite that you can interact with. I have been sort of successful in trying to copy existing scripts, but I still don't know how to make them exclusively use their Hidden Abilities. I have looked through the various scripting threads on the forums here, but there has been no mention of abilities. I have also tried looking at the scripts for various instances already in the game, both wild ones and those received as gifts. I haven't found how to do this yet, so I was hoping someone on here would know how this can be done. Thanks in advance for any help!
I have been trying to get Kaphotics' Lua scripts working in Pokemon Black and White, and I have downloaded the kit from his scripting thread and followed his video tutorial. Everything worked according to the tutorial until I was to open the Lua scripting window inside the emulator, and tried to load the zdXow.lua file. I then get an error that says "Lua51.dll was not found". I have tried putting the text file in various folders but it hasn't worked and I can't find any Lua51.dll file either. Does anyone know what is causing this error or how I could solve it? I am using DeSmuMe 0.9.9. Thanks in advance for any help.