The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > thethethethe
Reload this Page Conversation Between thethethethe and ZodiacDaGreat

Notices
For all updates, view the main page.

Ad Content
Conversation Between thethethethe and ZodiacDaGreat
Showing Visitor Messages 1 to 15 of 20
  1. ZodiacDaGreat
    April 21st, 2009 1:29 AM
    ZodiacDaGreat
    Hey ^^ Sorry for taking so long to reply.
    Uhm, don't worry.. You may get time later ;)
    I'll see you around then ^^
  2. thethethethe
    March 14th, 2009 2:43 AM
    thethethethe
    Little bit, but not too much. I'll see if I can write up the rest tomorrow.
  3. ZodiacDaGreat
    March 11th, 2009 12:36 AM
    ZodiacDaGreat
    Hey ^^
    Any progress?
  4. ZodiacDaGreat
    February 26th, 2009 2:04 AM
    ZodiacDaGreat
    Hey, you're online :)
  5. ZodiacDaGreat
    February 16th, 2009 1:01 AM
    ZodiacDaGreat
    Your tut is released :)
  6. ZodiacDaGreat
    January 31st, 2009 11:39 AM
    ZodiacDaGreat
    Yeah... But who told you XD? Perhaps the news... Afterall we're neighbouring countries
  7. thethethethe
    January 31st, 2009 2:54 AM
    thethethethe
    Your back. Have you been able to get up to much with the flood and all that?
    (I think that was why you were gone, unless I'm thinking of someone else.)
  8. ZodiacDaGreat
    January 30th, 2009 9:12 PM
    ZodiacDaGreat
    Hey! :)
  9. thethethethe
    October 2nd, 2008 9:36 PM
    thethethethe
    Yeah, I have seen it. That's how I found out how to edit the data. :P
  10. thethethethe
    July 27th, 2008 10:46 PM
    thethethethe
    Not really working on anything new. I've mainly just been doing little things that are helpful to my hack. Really just using a combination of ASM with scripting. Generally just making my own commands through callasm's.
    Actually that 's not a idea. It might be fun trying to create my own commands. That's something I might try. :P
    Have you got anything interesting going on?
  11. ZodiacDaGreat
    July 27th, 2008 10:13 PM
    ZodiacDaGreat
    Hello, How's it going???
    You working on anything new???
  12. ZodiacDaGreat
    July 16th, 2008 1:05 AM
    ZodiacDaGreat
    Ah, I see yours is to increase the HP amount right? Mine's to increase the HP, a predefined special 0x0 in scripting terms I would say. Well, I guess I'll see a lot of cool stuff from you :), good luck fellow asm learner xD
  13. thethethethe
    July 15th, 2008 11:09 PM
    thethethethe
    Mine's slightly different. You've left out a check so that it doesn't go over the max HP. This is just for the first Pokemon...
    push {r0-r3, lr}
    ldr r0, .CurrentHP @Load Current HP
    ldrh r1, [r0] @Load the amount at current
    ldr r2, .MaxHP @load Max
    ldrh r3, [r2] @Load the amount at Max
    add r1, #20 @add 20 to current
    cmp r3, r1 @Compare New current to max
    blt .Copy @if Max < Current, jump
    strh r1, [r0] @store current to location
    pop {r0-r3, pc}
    bx lr @I saw this in examples... So I thought I'd add it. (I should try it without it)

    .Copy:
    strh r3, [r0] @Copy Max to Current
    pop {r0-r3,pc}
    bx lr @same as before.

    I've left out addresses obviously.
    And the ASM would take up less room than a script wouldn't it? The loading of the two bytes from the HP would take 12 bytes instead of the two from an ASM routine. And likewise with storing. This routine is only about 30-40 bytes while if I tried to write a script for it, it would easily pass that. But I guess it's still useful for little things.
  14. ZodiacDaGreat
    July 15th, 2008 9:45 PM
    ZodiacDaGreat
    Your progress with ASM is great, I hope it'll do fine for others since I posted the tut, btw, I finally found how you increase the HP to a designated amount, here's my code which increases for the first pokemon in the party, of course I can do it for all, but it'll be long and I'm lazy -.-" ...

    push {r0, r1, r2, lr} @pushes/saves these registers on stack to retain their values
    ldr r0, =0x30043b6 @loads 0x30043b6 to r0
    mov r2, #0x10 @copies 0x10 = 16 decimal to r2, so r2 holds 16/0x10/&H10
    ldrh r1, [r0] @loads halfword from r0, with means 0x30043b6 is loaded to r1
    add r1, r1, r2 @adds the current value at r1 with value at r2 to r1
    strh r1, [r0] @stores halfword of the now r1 value to offset/pointer
    pop {r0, r1, r2, pc} @pops/returns the previous values for these registers.

    xD, I learnt to comment on the routine, - 1) to remind me, and 2)to know what I'm doing, haha, Anyways if theres something wrong, correct me - it worked fine ingame.

    Edit: Did you know, all this writing and loading values from memory addresses can be done without ASM and through scripting ;), try writebytotooffset and loadbytefrompointer, I think.
  15. thethethethe
    July 15th, 2008 1:10 PM
    thethethethe
    Yeah that's pretty much it, get pointers, add values, compare if it's past MaxHP. And that's about all.
    Well, I'm just writing up some things for my hack. Right now I'm going to try and get a happiness rating to show out of 255. The problem is it involves xor-ing things, and I need to read up on using 'eor'.
    When I was writing up a plan for my hack I included things that weren't possible to me. I just wrote down exactly what I wanted the game to be like. So I'm just trying to get some of those things into the game. That could be something you could do for ideas.

All times are GMT -8. The time now is 8:41 AM.