The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Bela
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read


Conversation Between Bela and FBI agent
Showing Visitor Messages 1 to 7 of 7
  1. FBI agent
    March 1st, 2013 04:39 PM
    FBI agent
    Yup, this is how the random command in a script does it. You can copy and modify it somewhere to fit what you need.

  2. Bela
    March 1st, 2013 04:10 PM
    Oh is this for the rng thing?

  3. FBI agent
    March 1st, 2013 03:27 PM
    FBI agent
    I think that this information is useful for what you're trying to do:

    @ unsigned __int16 __fastcall rand()
    08044EC8 rand: @ CODE XREF: call_back1x0C_irq_vblank+64p
    08044EC8 @ sub_08009640:loc_08009670p ...
    08044EC8 LDR R2, =rand_seed
    08044ECA LDR R1, [R2]
    08044ECC LDR R0, =0x41C64E6D
    08044ECE MULS R0, R1
    08044ED0 LDR R1, =0x6073
    08044ED2 ADDS R0, R0, R1
    08044ED4 STR R0, [R2]
    08044ED6 LSRS R0, R0, #0x10
    08044ED8 BX LR
    08044ED8 @ End of function rand
    08044ED8 @ ---------------------------------------------------------------------------
    08044EDA .byte 0
    08044EDB .byte 0
    08044EDC off_08044EDC: .long rand_seed @ DATA XREF: randr
    08044EE0 dword_08044EE0: .long 0x41C64E6D @ DATA XREF: rand+4r
    08044EE4 dword_08044EE4: .long 0x6073 @ DATA XREF: rand+8r
    08044EE8 @ =============== S U B R O U T I N E =======================================
    08044EE8 set_rand_seed: @ CODE XREF: sub_08000564+8p
    08044EE8 @ sub_08009640+2Ap
    08044EE8 LSLS R0, R0, #0x10
    08044EEA LSRS R0, R0, #0x10
    08044EEC LDR R1, =rand_seed
    08044EEE STR R0, [R1]
    08044EF0 BX LR
    08044EF0 @ End of function set_rand_seed
    08044EF0 @ ---------------------------------------------------------------------------
    08044EF2 .byte 0
    08044EF3 .byte 0
    08044EF4 off_08044EF4: .long rand_seed @ DATA XREF: set_rand_seed+4r

    I might add, these notes were from Knizz.

  4. Bela
    March 1st, 2013 03:20 PM
    it's going :P

  5. FBI agent
    March 1st, 2013 11:47 AM
    FBI agent
    How's the hacks going? :P

  6. Bela
    February 28th, 2013 11:27 PM
    thanks man. <3

  7. FBI agent
    February 28th, 2013 04:40 PM
    FBI agent
    Happy Birthday yo

All times are UTC -8. The time now is 03:40 AM.

Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™,
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / Poké
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.