• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Recent content by blakcat

  1. B

    Boss Battle Balancing

    For some reason, when I used (a modified version of) the Item Balancing algorithm, the bag breaks. 1. selecting an item causes the game to reset 2. scrolling down to the Close option causes the game to freak out (music lags, the palette/colors flip, and eventually it crashes) Bag colors...
  2. B

    Adding a New Source File

    Well, I feel stupid. 😅😱 (I had even looked up what static means, but obviously picked the wrong resource). I removed all the static references, but the .c file is STILL not being compiled 🙄🙄. Edit: I also don't see a file named pokeemerald.map (I ran find . -name "pokeemerald.map" with no...
  3. B

    Adding a New Source File

    I get the feeling this is the root of my problems: Assembler messages: Error: can't open src/random_party.s for reading: No such file or directory Makefile:274: recipe for target 'build/emerald/src/test.o' failed Here's how everything is set up: src/test.c src/includes/test.h...
  4. B

    Adding a New Source File

    Thanks for the reply! (moved this bit into a spoiler because I've been able to move past this piece of the issue.) --- In terms of including the .h file, I do see it included. I even commented out the include in the spot where I call my functions, and the errors change to the following (as...
  5. B

    Adding a New Source File

    I'm trying to add a new source file to the build; I followed the instructions here (just this section) to add the files to ld_script.txt, but I still get <function> used but not defined (it's declared in the .h file and used elsewhere) -- the .c implementation doesn't seem to be included...
  6. B

    Enabling AGBPrintf Debugging

    This was an excellent suggestion! Got logging up and working via the tutorial, and was able to fix a bunch of my issues based on the logs :D Thanks!!
  7. B

    Enabling AGBPrintf Debugging

    I'm trying to debug an issue I'm facing, but it's extremely difficult just to tweak code and run/check the results. I know that pokeemerald supports console logging via the AGBPrintf function. In config.h there's the following message: #define NDEBUG // To enable print debugging, comment out...
  8. B

    Porting over new gen daycare mechanics (help needed)

    @PokemonCrazy, I may have a clue to your answer. I'm playing with some code that lets the player choose a nature and all wild pkmn should have that nature, but I was having some issues. Upon investigation, it could be related to the Shiny Charm mechanic added y Dizzy's item expansion. In...
  9. B

    Visual Studio Code extension for GBA script syntax highlighting

    Yep. It's opened at the /pokeemerald folder. I'll try reopening the workspace and see if that helps... Edit: it didn't help. I do see info msgs telling me the IDE is searching thru includes when VS Code starts, but it still ends up with a bunch of errors :(
  10. B

    Visual Studio Code extension for GBA script syntax highlighting

    Hi, Hestia. I really appreciate the reply! Unfortunately, that did not really work for me. It does seem like there are fewer errors, though :) For example, in src\battle_script_commands.c, the following lines still give me the error function call is not allowed in a constant expression...
  11. B

    Simple Modifications Directory

    I know for 100% sure that I changed that string -- because I tested it and it was saying the correct thing -- but I think I know what may have happened. I think, when I merged a decap branch, it may have overwritten that change. Ive double checked, and it did get reverted (and I've now fixed...
  12. B

    Simple Modifications Directory

    A small issue I found with this: if the player has only 1 pokémon, the game will show the "{POKEMON} has fainted" instead of "{POKEMON} survived the poison", but the pkmn will still survive with 1 HP.
  13. B

    [Pokeemerald] Scripting Tutorial

    That's exactly what I needed! Thanks so much :D
  14. B

    Visual Studio Code extension for GBA script syntax highlighting

    I don't know if this is the right place for this, but seeing as the topic is VS Code, I'll give it a shot: does anyone know how to actually fix all the C++ errors in VS Code? Right now I have "error squiggles" disabled, which only half solves the problem. I mean actually fixing the errors...
Back
Top