• 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.
jiangzhengwenjzw
Reaction score
42

Profile posts Latest activity Postings About

  • I looked in the source code but saw nothing which led me to ask you that question, so I just went ahead and edited in the ROM :)
    For the EV/IV Display screen you made, how can I edit the text on the screen? For instance I want to capitalize all of the stat listings, lowercase the "POKéMON," edit the instructions at the bottom slightly, and change EV-IV DISPLAY to just EV/IVs. ~Thanks
    Dude, your movement permissions hack is awesome :o The diagonal movement part grabbed my attention the most, which is why I ask: With what you just made, is it possible to create a routine that allows the player to diagonally walk? I was just thinking, cause it sounds like it would be a pretty cool hack in the future.
    That's one way, but you should really avoid doing so. Flush the uncompressed data into a buffer, use gpu_pal_apply and use DMA to transfer the data to VRAM during a vblank. That's all you need to do. If you want examples, check how FireRed does the PC box's BG graphics.
    No, I mean wait for the vblank before drawing to the BG. If you use gpu_pal_apply, it should write during the next vblank too. This idea of writing during vblanks is called vsyncing.

    Also Jiang, I appreciate you trying to learn and stuff, but can you ask your questions in help threads? I'd like for other people who may have similar questions to you be able to see my answers to these questions. Often times I've answered your questions privately with someone else. It'd help to spread the knowledge
    Ah, thanks for confirming. I had a feeling the compiler was smart enough to handle that, but wasn't 100% sure :)
    I'm not 100% sure about that example with rand actually.

    I know you'd need to define the function header for "rand" inorder to be able to even use it as a parameter, but in general adding +1 in BPRE.ld should not affect functionality (I'm not 100% sure, just pretty sure).

    You can for example do this:

    void task_example(u8 task_id) {
    return;
    }

    void set_task() {
    task_add(task_example, 0x1);
    task_add(task_example + 1, 0x1);
    }

    I think both of those task_add will work. Try to compile it and check!
    Modify the make file? I don't know, why can't you use the Python files? Just download python :o
    you needed to do "extern void func_2();"

    Don't put the void inside the brackets. They mean different things.
    extern does work in devkitarm. Devkitarm is based off of GCC.
    extern the entire function header.
    Extern is how you would do it.
    Make sure you have the extern statement in the file which uses the functions, and not in the original file. Also what's wrong with including them?
    just copy it over, and change the "<>" to just normal double quotes :)
  • Loading…
  • Loading…
  • Loading…
Back
Top