TrollandToad.com
Touched's Profile Picture

Touched Touched is offline

Resident ASMAGICIAN

Visitor Messages

Showing Visitor Messages 1 to 15 of 328
  1. FBI
    4 Days Ago 3:50 PM
    FBI
    Things like requesting sub forums, and community projects like the comm hack would be obvious examples. Maybe make some actually good contests too (instead of stupidly hard ones like "make a trial").

    I'm sure there's more to it than that, you could just ask Ben
  2. FBI
    6 Days Ago 12:38 PM
    FBI
    Maybe just try, and step down if it appears you haven't got the time. Might be a good experience to have some sort of say about how the run the section. You get a say in a lot of cool things apparently.
  3. FBI
    1 Week Ago 11:29 AM
    FBI
    Wait, would you do it seriously? Perhaps if you want a good shot at actually getting the position a small introduction would suffice. Most people around RH already know who you are anyways :o
  4. FBI
    1 Week Ago 11:30 AM
    FBI
    What application? Just say you're interested and link him your thread history, ez.
  5. FBI
    1 Week Ago 8:50 PM
    FBI
    Apply for rom hack mod. My ability to muk post on the section is on the line.
  6. Wesley FG
    2 Weeks Ago 9:35 PM
    Wesley FG
    you can convert you routine for change badges position for EM
    https://www.pokecommunity.com/showpost.php?p=8852941&postcount=730
  7. ghoulslash
    May 2nd, 2017 11:31 AM
    ghoulslash
    Whoops, yeah It does change the palette. I had been messing with the sprite I wanted to change to. The code is 100% working. From my testing, the hidesprite and showsprite commands aren't necessary, and the sprite changes back to normal once you exit the map.
  8. ghoulslash
    May 1st, 2017 7:27 AM
    ghoulslash
    No worries! That code does work! Is there a way to switch the sprite pallettes, too, out of curiosity?
  9. Phantom Phoenix
    April 11th, 2017 7:05 PM
    Phantom Phoenix
    yo Touched. How r you? It's been 3 months since I asked you help in ASM. hope your r doing well.
    ~CrosseyedButterfly
  10. ghoulslash
    April 1st, 2017 6:26 PM
    ghoulslash
    Hey Touched!
    I am trying to use your instant NPC switch function but it doesn't seem to be working correctly. Here is the code I'm trying to test with in case I'm using it wrong:
    Spoiler:

    #org 0x78077C
    lock
    faceplayer
    hidesprite 0x1
    setvar 0x8000 0x1 //person event # to change
    setvar 0x8001 0x61 //change person to boulder (sprite #97)
    callasm 0x877FE31 //asm placed at 0x77FE30
    pause 0x20
    showsprite 0x1
    release
    end


    I've been trying to go through the routine and see if I can figure it out myself, but I am new to ASM so I'm having some trouble. One question I did have: on line 6 shouldn't ldrb r0, [r4] be storing the value of 0x8000 instead of overwriting r0?

    Here's the asm routine so you don't have to dig it up:
    Spoiler:
    .align 2
    .thumb

    instant_npc_frame_switch:
    push {r4-r6, lr}
    sub sp, #4

    ldr r4, variables

    @@ Determine npc state id from person id
    ldr r0, saveblock1_mapdata
    ldr r0, [r0]
    ldrb r0, [r4] @ person/local ID from var 0x8000
    ldrb r1, [r0, #5] @ current map
    ldrb r2, [r0, #4] @ current bank
    mov r3, sp
    ldr r5, npc_id_by_local_id_and_map_ret_success
    bl call_via_r5
    cmp r0, #0 @ failure check
    bne instant_npc_frame_switch_return

    @@ Get npc_state
    mov r0, sp
    ldrb r1, [r0] @ npc_id
    lsl r0, r1, #3 @ npc_states + 0x24 * npc_id
    add r0, r1
    lsl r0, #2
    ldr r1, npc_states
    add r6, r0, r1

    @@ Change Sprite
    mov r0, r6 @ npc_state
    ldrb r1, [r4, #2] @ sprite index from var 0x8001
    ldr r5, npc_change_sprite
    bl call_via_r5

    @@ Update direction to prevent graphical artifacts
    mov r0, r6
    ldrb r1, [r0, #0x18] @ npc direction
    lsr r1, #4
    ldr r5, npc_turn
    bl call_via_r5

    instant_npc_frame_switch_return:
    add sp, #4
    pop {r4-r6, pc}

    call_via_r5:
    bx r5

    .align 2
    variables: .word 0x020370B8 @ script var 0x8000
    saveblock1_mapdata: .word 0x03005008
    npc_states: .word 0x02036E38
    npc_change_sprite: .word 0x081507BC + 1
    npc_turn: .word 0x0805F218 + 1
    npc_id_by_local_id_and_map_ret_success: .word 0x0805DF84 + 1
  11. Nisarg
    February 26th, 2017 12:39 AM
    Nisarg
    Please reply to my last 5 messages...
    It's really important..
    You can help..
    Thanks!
  12. Nisarg
    February 26th, 2017 12:38 AM
    Nisarg
    Hey, touched...
    I used epic's routine for transparent text boxes...
    But it isn't helping for yes no boxes....
    Please help...
    I also have a patch from pho site that works fine but again yes no box is a mess...
    Please if you have the routines
    Send it to me....
  13. Nisarg
    February 23rd, 2017 1:19 AM
    Nisarg
    Hey touched,
    Another doubt.
    Suppose i wanna apply a patch, but that space is already used, then am I wrong doing following: ?
    1)
    Repoint it using repointer to offset X.
    2)
    Entering a pointer code( to offset X ) from where patch starts.

    If i am not wrong pointer code is reverse 2 byte pack of the offset and adding 08 in the end...
    Ryt??


    OR
    If I am wrong then please show me a method...
    Also you didn't reply to my last post about hex editing evolutions.
    Please it's necessary for me...
    Thanks.
  14. Nisarg
    February 22nd, 2017 1:30 AM
    Nisarg
    Oh, and i forgot to mention that when i compiled a script giving the player golden teeth, i set the 2 mentioned variables.. Is it right to do so??
  15. Nisarg
    February 22nd, 2017 1:24 AM
    Nisarg
    Update: some how I installed it but now the thing that bugs me is using g3hs or g3t...
    Can u tell how to insert FE evolution type using Hxd...
    I tried going to evolution table to mega evolve bulbasaur in venusaur which is at 0x259754 and change evolution type 04 to FE and level 10 to item D (Potion)..
    Still no success...
    Also i changed venusaur to FE type but kept item as 00..
    Please help..

About Me

  • About Touched
    Gender
    Male ♂
    Go Team
    Do not display
  • Signature

    A Pokemon that is discriminated!
    Support squirtle and make it everyone's favourite.

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: 11 Hours Ago 3:56 AM
  • Join Date: July 5th, 2014
  • Referrals: 0

Friends

Showing Friends 1 to 20 of 29

Emblems

Emblem Showcase - 7 Total
  Emblem
Helping Hand
This member has done some kind of service to PC; Or maybe they help out other members whenever they get the chance.
Awarded: April 28th, 2015 9:21 AM
Wise One
Experience, knowledge and comprehension are just the basic principles on which these members construct their responses.
Awarded: April 28th, 2015 9:22 AM
Punster McPunstein
You're a punk, you know that? You've made puns for too long with impunity. This emblem is your punishment!
Awarded: April 29th, 2015 10:34 AM
Alola Exeggutor
nah bruh this emblem ain't even Exeggutor's full form.
Awarded: September 28th, 2016 9:22 AM
Alola Exeggutor
nah bruh this emblem ain't even Exeggutor's full form.
Awarded: September 28th, 2016 9:22 AM
Topical Master
We don't know how you do it, but the detail of your posts in Pokemon Clubs is something to behold!
Awarded: October 3rd, 2016 1:26 PM
A Gem Amongst Granite
You certainly managed to catch our eye! Congratulations on being one outstanding new member! We hope you continue to shine and enjoy yourself.
Awarded: October 5th, 2016 1:15 AM

All times are GMT -8. The time now is 3:25 PM.