Recent content by scarfedelectrode

  1. S

    Change Movement Speed [Pokeemerald]

    That's exactly what I was looking for, thank you. I went down the route of changing the sStepFuncs for now. Currently I have sStep2Funcs set to move the sprite for 4 frames in steps of 4 pixels (which I think is the same as the Mach Bike), although I might change this later. This has worked as...
  2. S

    Change Movement Speed [Pokeemerald]

    Anyone have any idea how to edit the default movement speeds of the player? The game seems to have several set movement speeds (PlayerWalkNormal, PlayerRun, PlayerWalkFast and PlayerWalkFaster), and all the tutorials in the simple modifications thread seem to do is change it so that, for...
  3. S

    [Solved] [Pokeemerald] Teleport Item

    Haha, I really didn't expect that. I haven't been able to figure out why it wasn't working for me, but I changed to using the escapewarp function and variables and it's now working fine. I will make a new saveblock variable and warp function at some point so it's clean, but will update the OP...
  4. S

    [Solved] [Pokeemerald] Teleport Item

    Yep, you've essentially got it. Thank you. I did get to something a bit like this a while after I posted, but not in a way that works. Likely because I don't properly understand what the code is doing. I tried messing around with the setDynamicWarpWithCoords function like this: static void...
  5. S

    [Solved] [Pokeemerald] Teleport Item

    In case it's useful to someone, here is the code for a teleport item which modifies the escape rope to teleport the player between two locations, the last heal location and a location which is dynamically set when the player uses the item. Think of it as vaguely analogous to something like the...
  6. S

    [Map] Pokeemerald max objects that can be rendered on screen

    Yes, thank you! That looks like it'll do it
  7. S

    [Map] Pokeemerald max objects that can be rendered on screen

    I've been trying to make an arena map with a lot of spectators, and noticed that the game doesn't render everyone in the crowd (past a certain number they start to appear invisible). Does anyone know if there is a way of increasing the amount of objects that can be rendered on screen at a given...
  8. S

    Pokemon Ruby custom NPC event possible?

    First of all get porymap if you don't have it and set it up, that'll let you add the NPC to whichever bit of the map you want. It isn't immediately obvious to me how your password system would work, although I'm sure it could be done. An alternative which does occur to me, and which would be...
  9. S

    Switching if choice locked into bad moves

    ...and finally: static bool8 ShouldSwitchIfLockedIntoBadMove(void) { u8 holdEffect; u8 moveFlags; u8 notveryeffectivemove; u8 opposingPosition; u8 opposingBattler; opposingPosition = BATTLE_OPPOSITE(GetBattlerPosition(gActiveBattler)); opposingBattler =...
  10. S

    Switching if choice locked into bad moves

    Ok, I figured it out for anyone who's interested. I basically missed out of the bit of code which (I think) is concerned with actually switching. So, if you change the above to: static bool8 ShouldSwitchIfLockedIntoBadMove(void) { u8 holdEffect; u8 moveFlags; u16 *choicedMove =...
  11. S

    Switching if choice locked into bad moves

    Hi, I've been trying to add something in battle_ai_switch_items.c which will cause the AI to switch out if their pokemon is locked into a move the opponent is immune to. In normal Emerald, the AI will just sit in repeatedly selecting an ineffective move, which can be game breaking if you want...
  12. S

    [Other✓] Escape Rope Warp

    Yeah thanks man, just tried it again and it worked. Sometimes you just need another person to do the obvious thing. Cheers.
  13. S

    [Other✓] Escape Rope Warp

    I'm currently trying to make it so that Escape Ropes teleport you to the last pokemon centre as opposed to the escape location. I ultimately want to make a mark/recall type teleportation system (like in Morrowind) for an open world region. In field_effect.c there is a section which seems...
  14. S

    Scrolling Menus

    Hi there. I'm currently using the pokecrystal disassembly to make a battle orientated ROMhack. As the emphasis is on battling rather than catching, I want it to be possible for the player to have a full team of level 5 NFE Pokemon, of their choosing, given to them by a character before the...
Back
Top