ROM Hacking Need a helping hand? You can get help on any ROM Hacking-related problems or questions you have here.

Closed Thread
 
Thread Tools
  #7276    
Old September 1st, 2012 (9:16 AM).
Darkrai Lv.1000's Avatar
Darkrai Lv.1000 Darkrai Lv.1000 is offline
Has a tendency to figure things out
     
    Join Date: Jul 2007
    Location: On an island with Hakaze
    Age: 22
    Gender: Male
    Nature: Quirky
    Posts: 671
    I'm confused with giving moves new descriptions. Every time I do, the game ends up glitching the text, and some of it appears on other sides, overlapping and whatnot. Anyone who has added new descriptions through scripts should understand. How would I go about doing this perfectly, and what is the most text I can use as a description?
    __________________

    Relevant Advertising!

      #7277    
    Old September 1st, 2012 (9:43 AM).
    SKRoy SKRoy is offline
    Pokémon Hacker
       
      Join Date: Mar 2010
      Gender: Male
      Posts: 66
      I don't know what's wrong with this script, but when I talk to the person where te script is for I only get the movement, no text... So what's wrong with this script?

      #dynamic 0x800000

      #org @start
      checkflag 0x1150
      if 0x1 goto @done2
      checkflag 0x820
      if 0x1 goto @done
      message @talk 0x6
      applymovement 0xFF @move
      waitmovement 0x0
      release
      end

      #org @talk
      = You don't have your first badge!

      #org @move
      #raw 0x12
      #raw 0xFE

      #org @done
      lock
      faceplayer
      message @1 0x6
      givepokemon 0x385 0x5 0x0 0x0 0x0 0x0
      fanfare 0x13E
      message @2 0x4
      waitfanfare
      closeonkeypress
      setflag 0x1150
      message @3 0x5
      compare LASTRESULT 0x1
      if 0x1 gosub @name
      message @4 0x6
      release
      end

      #org @done2
      release
      end

      #org @name
      call 0x1A74EB
      return

      #org @1
      = I see you have your first badge!\nNow I have something for you!

      #org @2
      = [black_fr]You received a Castform!

      #org @3
      = [black_fr]Would you like to give a\nnickname to Castform?

      #org @4
      = Please take care of Castform!
      __________________
        #7278    
      Old September 1st, 2012 (10:16 AM).
      Darkrai87 Darkrai87 is offline
         
        Join Date: Dec 2010
        Gender: Male
        Posts: 20
        Quote:
        Originally Posted by SKRoy View Post
        I don't know what's wrong with this script, but when I talk to the person where te script is for I only get the movement, no text... So what's wrong with this script?

        #dynamic 0x800000

        #org @start
        checkflag 0x1150
        if 0x1 goto @done2
        checkflag 0x820
        if 0x1 goto @done
        message @talk 0x6
        applymovement 0xFF @move
        waitmovement 0x0
        release
        end

        #org @talk
        = You don't have your first badge!

        #org @move
        #raw 0x12
        #raw 0xFE

        #org @done
        lock
        faceplayer
        message @1 0x6
        givepokemon 0x385 0x5 0x0 0x0 0x0 0x0
        fanfare 0x13E
        message @2 0x4
        waitfanfare
        closeonkeypress
        setflag 0x1150
        message @3 0x5
        compare LASTRESULT 0x1
        if 0x1 gosub @name
        message @4 0x6
        release
        end

        #org @done2
        release
        end

        #org @name
        call 0x1A74EB
        return

        #org @1
        = I see you have your first badge!\nNow I have something for you!

        #org @2
        = [black_fr]You received a Castform!

        #org @3
        = [black_fr]Would you like to give a\nnickname to Castform?

        #org @4
        = Please take care of Castform!
        In XSE could you go to Help then click About and in the bottom right corner tell me what version you have? ex. 1.0.1
        __________________
        Currently playing through: Pokemon Flora Sky
          #7279    
        Old September 1st, 2012 (1:10 PM).
        RetroRoller's Avatar
        RetroRoller RetroRoller is offline
        Trailer Trash
           
          Join Date: Jun 2011
          Location: England
          Gender: Male
          Nature: Modest
          Posts: 111
          Quote:
          Originally Posted by Spherical Ice View Post
          This had me stumped for a while but I've finally noticed the error.

          You need to change this:
          Code:
          #raw @yaystudent3
          #raw 0x66
          #raw 0xFE
          to this:

          Code:
          #org @yaystudent3
          #raw 0x66
          #raw 0xFE
          Thank you muchly! It's the sort of thing I should've noticed myself, but the script took me about an hour to write and it was like 2 in the morning.
          __________________
          Eat pizza and stay punk rock

          I map for the Source SDK and dabble in ROM Hacking hmu.
            #7280    
          Old September 1st, 2012 (1:27 PM).
          SKRoy SKRoy is offline
          Pokémon Hacker
             
            Join Date: Mar 2010
            Gender: Male
            Posts: 66
            Quote:
            Originally Posted by Darkrai87 View Post
            In XSE could you go to Help then click About and in the bottom right corner tell me what version you have? ex. 1.0.1
            I have version 1.0.0, but is that why the script doesn't work or is there something wrong in the script?
            __________________
              #7281    
            Old September 1st, 2012 (3:59 PM).
            Darkrai87 Darkrai87 is offline
               
              Join Date: Dec 2010
              Gender: Male
              Posts: 20
              Quote:
              Originally Posted by SKRoy View Post
              I have version 1.0.0, but is that why the script doesn't work or is there something wrong in the script?
              That is most likely causing the error. You need the latest XSE (Which is 1.1.1) which can be found in two links:

              4shared: http://www.4shared.com/rar/xn-E0lPP/XSE_Upload.html
              Mediafire: http://www.mediafire.com/?gr5wtvmyiqfasmh

              The 4shared is a .rar archive and the mediafire is a .zip archive. Though you need an account to download from 4shared. Download XSE 1.1.1 and compile the exact same script with the new XSE and replace the old script offset with the one from the compiler. Save in AMap and test again, it should work now.
              __________________
              Currently playing through: Pokemon Flora Sky
                #7282    
              Old September 1st, 2012 (7:04 PM).
              Acecaldwell01's Avatar
              Acecaldwell01 Acecaldwell01 is offline
              Spriter
                 
                Join Date: Aug 2012
                Gender: Male
                Nature: Sassy
                Posts: 99
                I need help with my script. I think it is the flag number but I tried a bunch and they dont appear to be used but still... and by the way, is there a program to find emty flags? Back on subject. Here is my code:

                Code:
                '---------------
                #org 0x8000F3
                checkflag 0x808
                if 0x1 call 0x880011C
                msgbox 0x8800138 MSG_FACE '"I have a PIKACHU but do not have\n..."
                fanfare 0x13E
                msgbox 0x880018B MSG_NORMAL '"[player] obtained a\nPIKACHU!"
                waitfanfare
                givepokemon 0x19 0x10 0x0 0x0 0x0 0x0
                setflag 0x808
                release
                end
                
                '---------------
                #org 0x80011C
                msgbox 0x8800126 MSG_FACE '"How is PIKACHU?"
                release
                end
                
                
                '---------
                ' Strings
                '---------
                #org 0x800138
                = I have a PIKACHU but do not have\ntime to train it. I Know!\lI will give it to you!
                
                #org 0x80018B
                = [player] obtained a\nPIKACHU!
                
                #org 0x800126
                = How is PIKACHU?
                  #7283    
                Old September 1st, 2012 (8:20 PM).
                Darkrai87 Darkrai87 is offline
                   
                  Join Date: Dec 2010
                  Gender: Male
                  Posts: 20
                  Quote:
                  Originally Posted by Acecaldwell01 View Post
                  I need help with my script. I think it is the flag number but I tried a bunch and they dont appear to be used but still... and by the way, is there a program to find emty flags? Back on subject. Here is my code:

                  Code:
                  '---------------
                  #org 0x8000F3
                  checkflag 0x808
                  if 0x1 call 0x880011C
                  msgbox 0x8800138 MSG_FACE '"I have a PIKACHU but do not have\n..."
                  fanfare 0x13E
                  msgbox 0x880018B MSG_NORMAL '"[player] obtained a\nPIKACHU!"
                  waitfanfare
                  givepokemon 0x19 0x10 0x0 0x0 0x0 0x0
                  setflag 0x808
                  release
                  end
                  
                  '---------------
                  #org 0x80011C
                  msgbox 0x8800126 MSG_FACE '"How is PIKACHU?"
                  release
                  end
                  
                  
                  '---------
                  ' Strings
                  '---------
                  #org 0x800138
                  
                  #org 0x800126
                  = How is PIKACHU?
                  = I have a PIKACHU but do not have\ntime to train it. I Know!\lI will give it to you!
                  
                  #org 0x80018B
                  = [player] obtained a\nPIKACHU!
                  Alright, first things first, in XSE could you go to Help and then About and tell me the numbers in the bottom right corner (Ex. 1.0.1). Secondly, here's my changes to your script and \\explanations not to be added to your script.

                  Spoiler:
                  Code:
                  #dynamic 0x800000
                  
                  #org @start
                  checkflag 0x808
                  if 0x1 goto @done \\Goto makes it so when flag 0x808 is set it will goto that part of the script and execute whatever is there. And it will make sure it "goes to" @done and doesn't continue with giving you a pokemon and whatnot like call would.
                  msgbox @pikachu1 0x2
                  fanfare 0x13E
                  msgbox @pikachu2 0x4 \\This isn't really necessary because it's really up to personal preference, but usually you have this textbox say something and look like an announcement instead of the NPC telling you that you've received the pokemon.
                  waitfanfare
                  closeonkeypress \\Should only be used if you decide to use msgbox 0x4.
                  givepokemon 0x19 0x10 0x0 0x0 0x0 0x0
                  setflag 0x808
                  end \\The release isn't necessary because with msgbox 0x2 the lock, faceplayer, and release commands aren't needed.
                  
                  #org @done
                  lock
                  faceplayer
                  msgbox @donemsg 0x6
                  release
                  end \\This ties in with the goto @done. Since it's not actually a msgbox and it's just executing whatever is at this pointer, this is where you put the msgbox leading to "How is PIKACHU?". Also, the lock, faceplayer, and release commands should be used so the NPC actually faces you when you talk to him/her a second time.
                  
                  #org @pikachu1
                  = I have a PIKACHU but do not have\ntime to train it. I know!\lI will give it to you!
                  
                  #org @pikachu2
                  = \v\h01 obtained a\nPIKACHU!
                  
                  #org @donemsg
                  = How is PIKACHU? \\Pretty self explanatory, but this is the message shown in the @done pointer.
                  I have tested this in game and it works for me. As for what flags aren't being used that is another story. Here's a list of flags that are being used normally by the games.

                  Quote:
                  Originally Posted by diegoisawesome's XSE Tutorial
                  Spoiler:

                  Ruby/Sapphire
                  Spoiler:
                  0x1
                  0x2
                  0x3
                  0x4
                  0x5
                  0x6
                  0x11
                  0x12
                  0x13
                  0x14
                  0x15
                  0x16
                  0x17
                  0x18
                  0x19
                  0x1A
                  0x1B
                  0x1C
                  0x1D
                  0x1E
                  0x1F
                  0x20
                  0x2B
                  0x2C
                  0x2E
                  0x2F
                  0x30
                  0x31
                  0x32
                  0x33
                  0x34
                  0x35
                  0x36
                  0x37
                  0x38
                  0x39
                  0x3D
                  0x3E
                  0x3F
                  0x40
                  0x41
                  0x42
                  0x43
                  0x44
                  0x45
                  0x46
                  0x47
                  0x48
                  0x49
                  0x4A
                  0x4B
                  0x4C
                  0x4D
                  0x50
                  0x51
                  0x52
                  0x54
                  0x58
                  0x59
                  0x5A
                  0x5B
                  0x5C
                  0x5D
                  0x5E
                  0x5F
                  0x60
                  0x62
                  0x63
                  0x64
                  0x65
                  0x66
                  0x67
                  0x68
                  0x69
                  0x6A
                  0x6B
                  0x6D
                  0x6E
                  0x6F
                  0x70
                  0x71
                  0x72
                  0x73
                  0x74
                  0x75
                  0x76
                  0x77
                  0x79
                  0x7A
                  0x7B
                  0x7C
                  0x7D
                  0x7E
                  0x7F
                  0x80
                  0x81
                  0x82
                  0x83
                  0x84
                  0x85
                  0x86
                  0x87
                  0x88
                  0x89
                  0x8A
                  0x8B
                  0x8C
                  0x8D
                  0x8E
                  0x8F
                  0x90
                  0x91
                  0x92
                  0x93
                  0x94
                  0x95
                  0x96
                  0x97
                  0x98
                  0x99
                  0x9A
                  0x9B
                  0x9C
                  0x9E
                  0x9F
                  0xA0
                  0xA1
                  0xA2
                  0xA3
                  0xA4
                  0xA5
                  0xA6
                  0xA7
                  0xA8
                  0xA9
                  0xAA
                  0xAB
                  0xAC
                  0xAD
                  0xAE
                  0xAF
                  0xB0
                  0xB1
                  0xB2
                  0xB3
                  0xB4
                  0xB5
                  0xB6
                  0xB7
                  0xB8
                  0xB9
                  0xBA
                  0xBB
                  0xBC
                  0xBD
                  0xBE
                  0xBF
                  0xC0
                  0xC1
                  0xC2
                  0xC3
                  0xC4
                  0xC5
                  0xC6
                  0xC7
                  0xC8
                  0xC9
                  0xCA
                  0xCB
                  0xCC
                  0xCD
                  0xCE
                  0xD0
                  0xD1
                  0xD4
                  0xD5
                  0xD6
                  0xD7
                  0xD8
                  0xD9
                  0xDA
                  0xDB
                  0xDC
                  0xDD
                  0xDE
                  0xDF
                  0xE0
                  0xE1
                  0xE2
                  0xE3
                  0xE4
                  0xE5
                  0xE6
                  0xE7
                  0xE8
                  0xE9
                  0xEA
                  0xEB
                  0xEC
                  0xED
                  0xEE
                  0xEF
                  0xF0
                  0xF1
                  0xF2
                  0xF3
                  0xF4
                  0xF5
                  0xF6
                  0xF7
                  0xF8
                  0xF9
                  0xFA
                  0xFB
                  0xFC
                  0xFE
                  0xFF
                  0x100
                  0x101
                  0x102
                  0x103
                  0x104
                  0x105
                  0x106
                  0x107
                  0x108
                  0x109
                  0x10A
                  0x10B
                  0x10D
                  0x10E
                  0x10F
                  0x110
                  0x111
                  0x112
                  0x113
                  0x114
                  0x115
                  0x116
                  0x117
                  0x118
                  0x119
                  0x11A
                  0x11B
                  0x11C
                  0x11D
                  0x11E
                  0x11F
                  0x120
                  0x121
                  0x122
                  0x124
                  0x125
                  0x126
                  0x127
                  0x128
                  0x129
                  0x12A
                  0x12B
                  0x12C
                  0x12D
                  0x12E
                  0x138
                  0x140
                  0x141
                  0x142
                  0x143
                  0x144
                  0x163
                  0x16A
                  0x16E
                  0x16F
                  0x188
                  0x189
                  0x190
                  0x191
                  0x192
                  0x194
                  0x1A7
                  0x1A8
                  0x1A9
                  0x1AA
                  0x1B6
                  0x1B7
                  0x1B8
                  0x1CE
                  0x1CF
                  0x1D0
                  0x1E5
                  0x1E6
                  0x1ED
                  0x1EE
                  0x1EF
                  0x219
                  0x21A
                  0x21F
                  0x230
                  0x231
                  0x232
                  0x233
                  0x234
                  0x235
                  0x236
                  0x237
                  0x238
                  0x239
                  0x23A
                  0x23B
                  0x23C
                  0x23D
                  0x23F
                  0x240
                  0x241
                  0x243
                  0x244
                  0x245
                  0x246
                  0x247
                  0x248
                  0x249
                  0x24A
                  0x24B
                  0x24D
                  0x24E
                  0x24F
                  0x250
                  0x251
                  0x252
                  0x253
                  0x254
                  0x255
                  0x256
                  0x257
                  0x258
                  0x259
                  0x25B
                  0x25E
                  0x263
                  0x264
                  0x265
                  0x266
                  0x267
                  0x268
                  0x269
                  0x26A
                  0x26B
                  0x26C
                  0x26D
                  0x26E
                  0x26F
                  0x270
                  0x271
                  0x272
                  0x273
                  0x274
                  0x275
                  0x276
                  0x278
                  0x279
                  0x27A
                  0x27B
                  0x27C
                  0x27D
                  0x27E
                  0x27F
                  0x280
                  0x281
                  0x282
                  0x283
                  0x284
                  0x285
                  0x286
                  0x287
                  0x288
                  0x289
                  0x28A
                  0x28B
                  0x28C
                  0x28D
                  0x28E
                  0x28F
                  0x290
                  0x291
                  0x292
                  0x293
                  0x294
                  0x295
                  0x296
                  0x297
                  0x298
                  0x29A
                  0x29B
                  0x29C
                  0x29D
                  0x29E
                  0x29F
                  0x2A0
                  0x2A1
                  0x2A2
                  0x2A3
                  0x2A5
                  0x2A6
                  0x2BB
                  0x2BC
                  0x2BD
                  0x2BE
                  0x2BF
                  0x2C0
                  0x2C1
                  0x2C2
                  0x2C3
                  0x2C4
                  0x2C5
                  0x2C6
                  0x2C7
                  0x2C8
                  0x2C9
                  0x2CA
                  0x2CB
                  0x2CC
                  0x2CD
                  0x2CE
                  0x2CF
                  0x2D0
                  0x2D1
                  0x2D2
                  0x2D3
                  0x2D4
                  0x2D5
                  0x2D6
                  0x2D7
                  0x2D8
                  0x2D9
                  0x2DA
                  0x2DB
                  0x2DC
                  0x2DD
                  0x2E1
                  0x2E2
                  0x2E3
                  0x2E4
                  0x2E5
                  0x2E6
                  0x2E7
                  0x2E8
                  0x2EC
                  0x2ED
                  0x2EE
                  0x2EF
                  0x2F0
                  0x2F1
                  0x2F2
                  0x2F3
                  0x2F4
                  0x2F5
                  0x2F6
                  0x2F7
                  0x2F8
                  0x2F9
                  0x2FA
                  0x2FB
                  0x2FC
                  0x2FD
                  0x2FE
                  0x2FF
                  0x300
                  0x301
                  0x302
                  0x303
                  0x305
                  0x307
                  0x308
                  0x309
                  0x30A
                  0x30B
                  0x30C
                  0x30D
                  0x310
                  0x311
                  0x31C
                  0x31D
                  0x31E
                  0x31F
                  0x320
                  0x321
                  0x322
                  0x323
                  0x326
                  0x327
                  0x328
                  0x329
                  0x32E
                  0x32F
                  0x330
                  0x333
                  0x335
                  0x336
                  0x33C
                  0x33D
                  0x33F
                  0x343
                  0x348
                  0x349
                  0x34D
                  0x34E
                  0x350
                  0x351
                  0x354
                  0x356
                  0x357
                  0x358
                  0x35A
                  0x35B
                  0x35C
                  0x362
                  0x364
                  0x365
                  0x366
                  0x36D
                  0x36E
                  0x370
                  0x371
                  0x372
                  0x373
                  0x379
                  0x37A
                  0x37B
                  0x37C
                  0x37D
                  0x37E
                  0x380
                  0x381
                  0x382
                  0x384
                  0x385
                  0x386
                  0x387
                  0x388
                  0x389
                  0x38A
                  0x38F
                  0x390
                  0x391
                  0x393
                  0x394
                  0x395
                  0x396
                  0x39E
                  0x39F
                  0x3A0
                  0x3A5
                  0x3A6
                  0x3A7
                  0x3A8
                  0x3A9
                  0x3AC
                  0x3AD
                  0x3AE
                  0x3B0
                  0x3B1
                  0x3B2
                  0x3B3
                  0x3B4
                  0x3B5
                  0x3B7
                  0x3B8
                  0x3B9
                  0x3BA
                  0x3BB
                  0x3BC
                  0x3BD
                  0x3BE
                  0x3BF
                  0x3C1
                  0x3C2
                  0x3C3
                  0x3C4
                  0x3C5
                  0x3C7
                  0x3C8
                  0x3CD
                  0x3CE
                  0x3CF
                  0x3D0
                  0x3D1
                  0x3D2
                  0x3D3
                  0x3D4
                  0x3D6
                  0x3D7
                  0x3D8
                  0x3D9
                  0x3DA
                  0x3DB
                  0x3DC
                  0x3DD
                  0x3DE
                  0x3DF
                  0x436
                  0x4B0
                  0x4B1
                  0x4B2
                  0x4B3
                  0x4B4
                  0x4B5
                  0x4B6
                  0x4B7
                  0x4B8
                  0x4B9
                  0x4BA
                  0x4BB
                  0x4BC
                  0x4BD
                  0x4C1
                  0x4C9
                  0x4CD
                  0x4D4
                  0x4DD
                  0x4DE
                  0x4DF
                  0x4E0
                  0x800
                  0x801
                  0x802
                  0x804
                  0x805
                  0x806
                  0x807
                  0x808
                  0x809
                  0x80A
                  0x80B
                  0x80C
                  0x80D
                  0x80E
                  0x80F
                  0x810
                  0x811
                  0x812
                  0x813
                  0x814
                  0x815
                  0x816
                  0x817
                  0x818
                  0x819
                  0x81A
                  0x81B
                  0x81C
                  0x81D
                  0x81E
                  0x820
                  0x821
                  0x822
                  0x823
                  0x824
                  0x825
                  0x826
                  0x827
                  0x828
                  0x829
                  0x82A
                  0x82B
                  0x82C
                  0x82D
                  0x82F
                  0x830
                  0x832
                  0x834
                  0x83A
                  0x83B
                  0x83C
                  0x83D
                  0x83E
                  0x83F
                  0x840
                  0x841
                  0x842
                  0x843
                  0x844
                  0x845
                  0x846
                  0x847
                  0x848
                  0x849
                  0x84A
                  0x84B
                  0x84C
                  0x84F
                  0x850
                  0x851
                  0x852
                  0x853
                  0x854
                  0x855
                  0x856
                  0x857
                  0x858
                  0x859
                  0x85A
                  0x85B
                  0x85C
                  0x85E
                  0x85F
                  0x860
                  0x861
                  0x863
                  0x890
                  0x891
                  0x892
                  0x893
                  0x894
                  0x895
                  0x896
                  0x897
                  0x898
                  0x899
                  0x89A
                  0x89B
                  0x89C
                  0x89D
                  0x89E
                  0x89F
                  0x8A0
                  0x8A1
                  0x8A2
                  0x8A3
                  0x8A4
                  0x8A5
                  0x8A6
                  0x8A7
                  0x8A8
                  0x8A9
                  0x8AA
                  0x8AB
                  0x8AC
                  0x8AD
                  0x8AE
                  0x8AF
                  0x8B0
                  0x8B1
                  0x8B2
                  0x8B3
                  0x8B4
                  0x8B5
                  0x8B6
                  0x8B7
                  0x8B8
                  0x8B9
                  0x8BA
                  0x8BB
                  0x8BC
                  0x8BD
                  0x8BE
                  0x8BF
                  0x8C0
                  0x8C1
                  0x8C2
                  0x8CA
                  0x8CB
                  0x8CC
                  0x8CD
                  0x8CE
                  0x8CF
                  0x8D0
                  0x8D1
                  0x8D2


                  Fire Red/Leaf Green:
                  Spoiler:
                  0x1
                  0x2
                  0x3
                  0x4
                  0x5
                  0x6
                  0x2B
                  0x2C
                  0x2E
                  0x2F
                  0x30
                  0x31
                  0x32
                  0x33
                  0x34
                  0x35
                  0x36
                  0x37
                  0x39
                  0x3D
                  0x3E
                  0x3F
                  0x40
                  0x41
                  0x42
                  0x43
                  0x44
                  0x45
                  0x46
                  0x47
                  0x48
                  0x49
                  0x4A
                  0x4B
                  0x4C
                  0x4D
                  0x50
                  0x52
                  0x54
                  0x58
                  0x59
                  0x5C
                  0x5D
                  0x5F
                  0x62
                  0x63
                  0x64
                  0x65
                  0x66
                  0x67
                  0x68
                  0x69
                  0x6A
                  0x6B
                  0x72
                  0x75
                  0x7A
                  0x7B
                  0x7C
                  0x7D
                  0x7E
                  0x80
                  0x81
                  0x82
                  0x84
                  0x85
                  0x86
                  0x88
                  0x8B
                  0x8C
                  0x8D
                  0x8E
                  0x91
                  0x92
                  0x93
                  0x94
                  0x95
                  0x96
                  0x97
                  0x98
                  0x99
                  0x9A
                  0x9B
                  0x9C
                  0x9E
                  0x9F
                  0xA0
                  0xA1
                  0xA2
                  0xAA
                  0xAD
                  0xAE
                  0xB1
                  0xB2
                  0xB3
                  0xB4
                  0xD5
                  0xD6
                  0xD7
                  0xDC
                  0xEA
                  0x109
                  0x10A
                  0x10B
                  0x118
                  0x119
                  0x11A
                  0x11B
                  0x120
                  0x121
                  0x124
                  0x125
                  0x126
                  0x127
                  0x128
                  0x129
                  0x142
                  0x143
                  0x144
                  0x163
                  0x16A
                  0x16E
                  0x16F
                  0x188
                  0x189
                  0x190
                  0x191
                  0x192
                  0x1A7
                  0x1A8
                  0x1B6
                  0x1B7
                  0x1B8
                  0x1CE
                  0x1CF
                  0x1D0
                  0x219
                  0x21A
                  0x21F
                  0x230
                  0x231
                  0x232
                  0x233
                  0x234
                  0x235
                  0x236
                  0x237
                  0x238
                  0x239
                  0x23A
                  0x23B
                  0x23C
                  0x23D
                  0x23F
                  0x240
                  0x241
                  0x243
                  0x244
                  0x245
                  0x246
                  0x247
                  0x248
                  0x249
                  0x24A
                  0x24B
                  0x24D
                  0x24E
                  0x24F
                  0x250
                  0x251
                  0x252
                  0x253
                  0x254
                  0x255
                  0x256
                  0x257
                  0x258
                  0x259
                  0x25B
                  0x25E
                  0x263
                  0x264
                  0x265
                  0x266
                  0x267
                  0x268
                  0x269
                  0x26A
                  0x26B
                  0x26C
                  0x26D
                  0x26E
                  0x26F
                  0x270
                  0x271
                  0x272
                  0x273
                  0x274
                  0x275
                  0x276
                  0x278
                  0x27A
                  0x27B
                  0x27C
                  0x27D
                  0x27E
                  0x27F
                  0x280
                  0x281
                  0x282
                  0x283
                  0x284
                  0x285
                  0x286
                  0x287
                  0x288
                  0x289
                  0x28A
                  0x28B
                  0x28C
                  0x28D
                  0x290
                  0x291
                  0x292
                  0x293
                  0x294
                  0x295
                  0x296
                  0x297
                  0x298
                  0x29A
                  0x29B
                  0x29C
                  0x29D
                  0x29E
                  0x29F
                  0x2A0
                  0x2A1
                  0x2A2
                  0x2A3
                  0x2A5
                  0x2A6
                  0x2BB
                  0x2BC
                  0x2BD
                  0x2BE
                  0x2BF
                  0x2C0
                  0x2C1
                  0x2C2
                  0x2C3
                  0x2C4
                  0x2C5
                  0x2C6
                  0x2C7
                  0x2C8
                  0x2C9
                  0x2CA
                  0x2CB
                  0x2CC
                  0x2CD
                  0x2CE
                  0x2CF
                  0x2D0
                  0x2D1
                  0x2D2
                  0x2D3
                  0x2D4
                  0x2D5
                  0x2D6
                  0x2D7
                  0x2D8
                  0x2D9
                  0x2DA
                  0x2DB
                  0x2DC
                  0x2DD
                  0x2E1
                  0x2E2
                  0x2E3
                  0x2E4
                  0x2E5
                  0x2EC
                  0x2ED
                  0x2EE
                  0x2EF
                  0x2F0
                  0x2F1
                  0x2F2
                  0x2F3
                  0x2F4
                  0x2F5
                  0x2F6
                  0x2F7
                  0x2F8
                  0x2F9
                  0x2FA
                  0x2FB
                  0x2FC
                  0x2FD
                  0x2FE
                  0x2FF
                  0x4B0
                  0x4B1
                  0x4B2
                  0x4B3
                  0x4B4
                  0x4B5
                  0x4B6
                  0x4B7
                  0x4B8
                  0x4B9
                  0x4BA
                  0x4BB
                  0x4BC
                  0x805
                  0x807
                  0x820
                  0x821
                  0x822
                  0x823
                  0x824
                  0x825
                  0x826
                  0x827
                  0x828
                  0x829
                  0x82C
                  0x82D
                  0x82F
                  0x830
                  0x834
                  0x83E
                  0x841
                  0x842
                  0x844
                  0x845
                  0x846
                  0x847
                  0x848
                  0x849
                  0x84A
                  0x84B
                  0x890
                  0x891
                  0x892
                  0x893
                  0x894
                  0x895
                  0x896
                  0x897
                  0x898
                  0x899
                  0x89A
                  0x89B
                  0x89C
                  0x89D
                  0x89E
                  0x89F
                  0x8A0
                  0x8A1
                  0x8A2
                  0x8A3
                  0x8A4
                  0x8A5
                  0x8A6
                  0x8A7
                  0x8A8
                  0x8A9
                  0x8AA
                  0x8AB
                  0x8AC
                  0x8AD
                  0x8AE
                  0x8AF
                  0x8B0
                  0x8B1
                  0x8B2
                  0x8B3
                  0x8B4
                  0x8B5
                  0x8B6
                  0x8B7
                  0x8B8
                  0x8B9
                  0x8BA
                  0x8BB
                  0x8BC
                  0x8BD
                  0x8BE
                  0x8BF
                  0x8C0
                  0x8C1
                  0x8C2


                  Emerald:

                  Spoiler:
                  0x1
                  0x2
                  0x3
                  0x4
                  0x11
                  0x12
                  0x13
                  0x14
                  0x15
                  0x16
                  0x17
                  0x18
                  0x19
                  0x1A
                  0x1B
                  0x1C
                  0x1D
                  0x1E
                  0x1F
                  0x38
                  0x41
                  0x47
                  0x48
                  0x49
                  0x4A
                  0x50
                  0x51
                  0x52
                  0x53
                  0x58
                  0x59
                  0x5A
                  0x5B
                  0x5C
                  0x5D
                  0x5E
                  0x5F
                  0x60
                  0x61
                  0x62
                  0x63
                  0x64
                  0x65
                  0x66
                  0x67
                  0x69
                  0x6A
                  0x6B
                  0x6C
                  0x6D
                  0x6E
                  0x6F
                  0x70
                  0x71
                  0x73
                  0x74
                  0x75
                  0x76
                  0x77
                  0x78
                  0x79
                  0x7A
                  0x7B
                  0x7C
                  0x7D
                  0x7E
                  0x7F
                  0x80
                  0x81
                  0x82
                  0x83
                  0x84
                  0x85
                  0x86
                  0x87
                  0x88
                  0x89
                  0x8A
                  0x8B
                  0x8C
                  0x8D
                  0x8E
                  0x8F
                  0x90
                  0x91
                  0x92
                  0x93
                  0x94
                  0x95
                  0x97
                  0x98
                  0x99
                  0x9A
                  0x9B
                  0x9C
                  0x9D
                  0x9E
                  0x9F
                  0xA0
                  0xA1
                  0xA2
                  0xA3
                  0xA4
                  0xA5
                  0xA6
                  0xA7
                  0xA8
                  0xA9
                  0xAA
                  0xAB
                  0xAC
                  0xAE
                  0xAF
                  0xB0
                  0xB1
                  0xB2
                  0xB3
                  0xB4
                  0xB5
                  0xB6
                  0xB7
                  0xB8
                  0xB9
                  0xBA
                  0xBB
                  0xBC
                  0xBD
                  0xBE
                  0xBF
                  0xC0
                  0xC1
                  0xC2
                  0xC3
                  0xC4
                  0xC5
                  0xC6
                  0xC7
                  0xC8
                  0xC9
                  0xCA
                  0xCB
                  0xCC
                  0xCD
                  0xCE
                  0xCF
                  0xD0
                  0xD1
                  0xD2
                  0xD3
                  0xD4
                  0xD5
                  0xD7
                  0xD8
                  0xD9
                  0xDA
                  0xDB
                  0xDD
                  0xDE
                  0xDF
                  0xE0
                  0xE1
                  0xE2
                  0xE3
                  0xE4
                  0xE5
                  0xE6
                  0xE7
                  0xE8
                  0xE9
                  0xEA
                  0xEB
                  0xEC
                  0xED
                  0xEE
                  0xEF
                  0xF0
                  0xF1
                  0xF2
                  0xF3
                  0xF4
                  0xF5
                  0xF6
                  0xF7
                  0xF8
                  0xF9
                  0xFA
                  0xFB
                  0xFC
                  0xFD
                  0xFE
                  0xFF
                  0x100
                  0x101
                  0x102
                  0x103
                  0x104
                  0x105
                  0x106
                  0x107
                  0x108
                  0x109
                  0x10A
                  0x10B
                  0x10D
                  0x10E
                  0x10F
                  0x110
                  0x111
                  0x112
                  0x113
                  0x114
                  0x115
                  0x116
                  0x117
                  0x118
                  0x119
                  0x11A
                  0x11B
                  0x11C
                  0x11D
                  0x11E
                  0x11F
                  0x120
                  0x121
                  0x122
                  0x124
                  0x125
                  0x126
                  0x127
                  0x128
                  0x129
                  0x12A
                  0x12B
                  0x12C
                  0x12D
                  0x12E
                  0x12F
                  0x130
                  0x131
                  0x132
                  0x133
                  0x134
                  0x135
                  0x136
                  0x137
                  0x138
                  0x139
                  0x140
                  0x141
                  0x143
                  0x14E
                  0x14F
                  0x150
                  0x151
                  0x152
                  0x153
                  0x154
                  0x155
                  0x156
                  0x157
                  0x159
                  0x15A
                  0x15B
                  0x191
                  0x192
                  0x194
                  0x1A9
                  0x1AA
                  0x1AC
                  0x1AD
                  0x1AE
                  0x1AF
                  0x1B0
                  0x1B1
                  0x1B2
                  0x1B3
                  0x1B4
                  0x1B5
                  0x1B6
                  0x1B7
                  0x1B8
                  0x1B9
                  0x1BA
                  0x1BB
                  0x1BC
                  0x1BD
                  0x1BE
                  0x1BF
                  0x1C0
                  0x1C1
                  0x1C2
                  0x1C3
                  0x1C4
                  0x1C5
                  0x1C6
                  0x1C7
                  0x1C8
                  0x1C9
                  0x1CA
                  0x1CB
                  0x1CC
                  0x1CD
                  0x1CE
                  0x1CF
                  0x1D0
                  0x1D1
                  0x1D2
                  0x1D4
                  0x1D5
                  0x1D6
                  0x1D7
                  0x1D8
                  0x1D9
                  0x1DB
                  0x1DC
                  0x1DD
                  0x1ED
                  0x1EE
                  0x1EF
                  0x1F5
                  0x1F6
                  0x23B
                  0x23C
                  0x23D
                  0x23E
                  0x23F
                  0x246
                  0x247
                  0x248
                  0x249
                  0x24F
                  0x25E
                  0x265
                  0x266
                  0x281
                  0x287
                  0x288
                  0x289
                  0x28A
                  0x28E
                  0x28F
                  0x2BC
                  0x2BD
                  0x2BF
                  0x2C0
                  0x2C1
                  0x2C2
                  0x2C3
                  0x2C4
                  0x2C5
                  0x2C6
                  0x2C7
                  0x2C8
                  0x2C9
                  0x2CA
                  0x2CB
                  0x2CC
                  0x2CE
                  0x2CF
                  0x2D0
                  0x2D1
                  0x2D2
                  0x2D6
                  0x2D8
                  0x2DA
                  0x2DC
                  0x2DF
                  0x2E0
                  0x2E1
                  0x2E2
                  0x2E3
                  0x2E4
                  0x2E5
                  0x2E6
                  0x2E7
                  0x2E8
                  0x2E9
                  0x2EA
                  0x2F1
                  0x2F2
                  0x2F3
                  0x2F4
                  0x2F6
                  0x2F7
                  0x2F8
                  0x2F9
                  0x2FA
                  0x2FB
                  0x2FC
                  0x2FE
                  0x2FF
                  0x300
                  0x301
                  0x302
                  0x303
                  0x307
                  0x308
                  0x309
                  0x30A
                  0x30B
                  0x30C
                  0x30D
                  0x30E
                  0x30F
                  0x310
                  0x311
                  0x313
                  0x314
                  0x319
                  0x31C
                  0x31D
                  0x31E
                  0x31F
                  0x320
                  0x321
                  0x322
                  0x323
                  0x326
                  0x327
                  0x328
                  0x329
                  0x32E
                  0x32F
                  0x330
                  0x331
                  0x332
                  0x333
                  0x335
                  0x336
                  0x337
                  0x33A
                  0x33B
                  0x33C
                  0x33D
                  0x33E
                  0x33F
                  0x340
                  0x343
                  0x347
                  0x348
                  0x349
                  0x34A
                  0x34B
                  0x34C
                  0x34D
                  0x34E
                  0x34F
                  0x350
                  0x351
                  0x354
                  0x356
                  0x357
                  0x358
                  0x359
                  0x35A
                  0x35B
                  0x35C
                  0x35E
                  0x35F
                  0x360
                  0x361
                  0x362
                  0x365
                  0x366
                  0x369
                  0x36A
                  0x36D
                  0x36E
                  0x370
                  0x371
                  0x372
                  0x373
                  0x379
                  0x37A
                  0x37B
                  0x37C
                  0x37D
                  0x37E
                  0x380
                  0x381
                  0x382
                  0x384
                  0x385
                  0x386
                  0x387
                  0x388
                  0x389
                  0x38A
                  0x390
                  0x391
                  0x393
                  0x394
                  0x395
                  0x396
                  0x39C
                  0x39E
                  0x39F
                  0x3A0
                  0x3A1
                  0x3A5
                  0x3A6
                  0x3A7
                  0x3A8
                  0x3A9
                  0x3AC
                  0x3AD
                  0x3AE
                  0x3B0
                  0x3B1
                  0x3B2
                  0x3B3
                  0x3B4
                  0x3B5
                  0x3B7
                  0x3B8
                  0x3B9
                  0x3BA
                  0x3BB
                  0x3BC
                  0x3BD
                  0x3BE
                  0x3BF
                  0x3C1
                  0x3C2
                  0x3C3
                  0x3C4
                  0x3C5
                  0x3C7
                  0x3C8
                  0x3CD
                  0x3CE
                  0x3CF
                  0x3D0
                  0x3D1
                  0x3D2
                  0x3D3
                  0x3D4
                  0x3D7
                  0x3D8
                  0x3DF
                  0x3E0
                  0x3E1
                  0x3E2
                  0x3E5
                  0x3E6
                  0x3E7
                  0x436
                  0x4F0
                  0x4F1
                  0x4F2
                  0x4F3
                  0x4F4
                  0x4F5
                  0x4F6
                  0x4F7
                  0x4F8
                  0x4FB
                  0x4FC
                  0x4FD
                  0x4FE
                  0x860
                  0x861
                  0x862
                  0x864
                  0x865
                  0x866
                  0x867
                  0x868
                  0x869
                  0x86A
                  0x86B
                  0x86C
                  0x86D
                  0x86E
                  0x870
                  0x871
                  0x872
                  0x873
                  0x874
                  0x875
                  0x876
                  0x877
                  0x878
                  0x879
                  0x87A
                  0x87B
                  0x87C
                  0x87E
                  0x880
                  0x889
                  0x88A
                  0x88B
                  0x892
                  0x89A
                  0x89B
                  0x89C
                  0x89D
                  0x89E
                  0x89F
                  0x8A0
                  0x8A1
                  0x8A3
                  0x8A4
                  0x8A5
                  0x8A6
                  0x8A7
                  0x8A8
                  0x8A9
                  0x8AA
                  0x8AB
                  0x8AF
                  0x8B0
                  0x8B1
                  0x8B2
                  0x8B3
                  0x8B4
                  0x8B5
                  0x8B6
                  0x8B7
                  0x8B8
                  0x8B9
                  0x8BA
                  0x8BB
                  0x8BC
                  0x8BE
                  0x8BF
                  0x8C0
                  0x8C1
                  0x8C3
                  0x8C4
                  0x8C5
                  0x8C6
                  0x8C7
                  0x8C8
                  0x8C9
                  0x8CA
                  0x8CB
                  0x8CC
                  0x8CD
                  0x8CE
                  0x8CF
                  0x8D0
                  0x8D1
                  0x8D2
                  0x8D3
                  0x8D4
                  0x8D5
                  0x8D6
                  0x8D8
                  0x8D9
                  0x8DA
                  0x8DC
                  0x8DD
                  0x8DE
                  0x8DF
                  0x8E0
                  0x8E1
                  0x8E2
                  0x921
                  0x92A
                  0x92B
                  0x92C
                  0x92D
                  0x92E
                  0x92F
                  0x930
                  0x931
                  0x932
                  0x934



                  &

                  Spoiler:
                  Fire Red:
                  Spoiler:
                  0x820 – Activates First Badge
                  0x821 - Activates Second Badge
                  0x822 - Activates Third Badge
                  0x823 - Activates Fourth Badge
                  0x824 - Activates Fifth Badge
                  0x825 - Activates Sixth Badge
                  0x826 - Activates Seventh Badge
                  0x827 - Activates Eighth Badge
                  0x828 - Activates Pokemon Menu
                  0x829 - Activates Pokedex Menu
                  0x82F - Activates Running Shoes


                  Ruby/Sapphire:
                  Spoiler:
                  0x800 - Activates Pokemon Menu
                  0x801 - Activates Pokedex Menu
                  0x802 - Activates Pokenav Menu
                  0x807 - Activates First Badge
                  0x808 - Activates Second Badge
                  0x809 - Activates Third Badge
                  0x80A - Activates Fourth Badge
                  0x80B - Activates Fifth Badge
                  0x80C - Activates Sixth Badge
                  0x80D - Activates Seventh Badge
                  0x80E - Activates Eighth Badge
                  0x860 - Activates Running Shoes


                  Emerald:
                  Spoiler:
                  0x860 - Activates Pokemon Menu
                  0x861 - Activates Pokedex Menu
                  0x862 - Activates Pokenav Menu
                  0x867 - Activates First Badge
                  0x868 - Activates Second Badge
                  0x869 - Activates Third Badge
                  0x86A - Activates Fourth Badge
                  0x86B - Activates Fifth Badge
                  0x86C - Activates Sixth Badge
                  0x86D - Activates Seventh Badge
                  0x86E - Activates Eighth Badge
                  0x8C0 - Activates Running Shoes
                  Badge flags and the running shoes flag found by Crocky.
                  Now before you try the script I gave you, those numbers you found earlier. I'm guessing they weren't "1.1.1". If they weren't, go to my last post and download XSE 1.1.1 and use that to compile the script above. Then test it in game and it should work.

                  -Dark
                  __________________
                  Currently playing through: Pokemon Flora Sky
                    #7284    
                  Old September 2nd, 2012 (10:21 AM).
                  Acecaldwell01's Avatar
                  Acecaldwell01 Acecaldwell01 is offline
                  Spriter
                     
                    Join Date: Aug 2012
                    Gender: Male
                    Nature: Sassy
                    Posts: 99
                    Quote:
                    Originally Posted by Darkrai87 View Post
                    Alright, first things first, in XSE could you go to Help and then About and tell me the numbers in the bottom right corner (Ex. 1.0.1). Secondly, here's my changes to your script and \\explanations not to be added to your script.

                    Spoiler:
                    Code:
                    #dynamic 0x800000
                    
                    #org @start
                    checkflag 0x808
                    if 0x1 goto @done \\Goto makes it so when flag 0x808 is set it will goto that part of the script and execute whatever is there. And it will make sure it "goes to" @done and doesn't continue with giving you a pokemon and whatnot like call would.
                    msgbox @pikachu1 0x2
                    fanfare 0x13E
                    msgbox @pikachu2 0x4 \\This isn't really necessary because it's really up to personal preference, but usually you have this textbox say something and look like an announcement instead of the NPC telling you that you've received the pokemon.
                    waitfanfare
                    closeonkeypress \\Should only be used if you decide to use msgbox 0x4.
                    givepokemon 0x19 0x10 0x0 0x0 0x0 0x0
                    setflag 0x808
                    end \\The release isn't necessary because with msgbox 0x2 the lock, faceplayer, and release commands aren't needed.
                    
                    #org @done
                    lock
                    faceplayer
                    msgbox @donemsg 0x6
                    release
                    end \\This ties in with the goto @done. Since it's not actually a msgbox and it's just executing whatever is at this pointer, this is where you put the msgbox leading to "How is PIKACHU?". Also, the lock, faceplayer, and release commands should be used so the NPC actually faces you when you talk to him/her a second time.
                    
                    #org @pikachu1
                    = I have a PIKACHU but do not have\ntime to train it. I know!\lI will give it to you!
                    
                    #org @pikachu2
                    = \v\h01 obtained a\nPIKACHU!
                    
                    #org @donemsg
                    = How is PIKACHU? \\Pretty self explanatory, but this is the message shown in the @done pointer.
                    I have tested this in game and it works for me. As for what flags aren't being used that is another story. Here's a list of flags that are being used normally by the games.



                    Now before you try the script I gave you, those numbers you found earlier. I'm guessing they weren't "1.1.1". If they weren't, go to my last post and download XSE 1.1.1 and use that to compile the script above. Then test it in game and it should work.

                    -Dark
                    I am running Xse v 1.1.1
                    And the script worked!
                    Thanks
                    I had to change the flag even though it
                    Was not used by the gme tho
                    Anyway thanks
                      #7285    
                    Old September 2nd, 2012 (11:33 AM).
                    SKRoy SKRoy is offline
                    Pokémon Hacker
                       
                      Join Date: Mar 2010
                      Gender: Male
                      Posts: 66
                      Quote:
                      Originally Posted by Darkrai87 View Post
                      That is most likely causing the error. You need the latest XSE (Which is 1.1.1) which can be found in two links:

                      4shared: http://www.4shared.com/rar/xn-E0lPP/XSE_Upload.html
                      Mediafire: http://www.mediafire.com/?gr5wtvmyiqfasmh

                      The 4shared is a .rar archive and the mediafire is a .zip archive. Though you need an account to download from 4shared. Download XSE 1.1.1 and compile the exact same script with the new XSE and replace the old script offset with the one from the compiler. Save in AMap and test again, it should work now.
                      Thanks the script worked in the newer version.
                      Now I changed the script a little bit and now it is a normaal script, so not for talking to a person. But when I play the game and I walk over that script, than the whole game freezed... What can I do?
                      __________________
                        #7286    
                      Old September 2nd, 2012 (11:42 AM).
                      Spherical Ice's Avatar
                      Spherical Ice Spherical Ice is offline
                      • Moderator
                      • Silver Tier
                       
                      Join Date: Nov 2007
                      Location: Bristol, UK
                      Age: 19
                      Posts: 5,201
                      Click on the Script Event and change the first "Unknown:" to "$03". Change the "Var number:" underneath it to an unused variable. A commonly used one "$4050".
                      __________________

                      A Pokemon that is discriminated!
                      Support squirtle and make it everyone's favourite.
                        #7287    
                      Old September 2nd, 2012 (11:54 AM).
                      SKRoy SKRoy is offline
                      Pokémon Hacker
                         
                        Join Date: Mar 2010
                        Gender: Male
                        Posts: 66
                        Quote:
                        Originally Posted by Spherical Ice View Post
                        Click on the Script Event and change the first "Unknown:" to "$03". Change the "Var number:" underneath it to an unused variable. A commonly used one "$4050".
                        I did... But now when I walked over the and nothing happend...
                        __________________
                          #7288    
                        Old September 2nd, 2012 (12:07 PM).
                        Spherical Ice's Avatar
                        Spherical Ice Spherical Ice is offline
                        • Moderator
                        • Silver Tier
                         
                        Join Date: Nov 2007
                        Location: Bristol, UK
                        Age: 19
                        Posts: 5,201
                        Has the variable 4050 been set to anything other than 0 elsewhere in your ROM? If so, change it to another variable that is equal to (and always will be equal to) 0.
                        __________________

                        A Pokemon that is discriminated!
                        Support squirtle and make it everyone's favourite.
                          #7289    
                        Old September 3rd, 2012 (7:46 AM).
                        Controversial?'s Avatar
                        Controversial? Controversial? is offline
                        DEFINITELY needs to stop now
                           
                          Join Date: Dec 2010
                          Location: leeds/london. sometimes i travel.
                          Age: 21
                          Gender: Female
                          Nature: Naughty
                          Posts: 638
                          Okay, here's me n00bing out..

                          Quote:
                          '-----------------------
                          #org 0x80010D
                          lock
                          faceplayer
                          checkflag 0x7
                          if 0x1 goto 0x88002C3
                          applymovement 0x1 0x8800146
                          waitmovement 0x0
                          msgbox 0x8800154 '"Hey, [player]!"
                          pause 0x20
                          applymovement 0x1 0x8800149
                          msgbox 0x8800162 '" reddfrrJERRY'S MUM: So you finally..."
                          pause 0x20
                          applymovement 0x1 0x880014E
                          setflag 0x7
                          callstd 0x2
                          '-----------------------
                          #org 0x8002C3

                          '-----------
                          ' Movements
                          '-----------
                          #org 0x800146
                          #raw 2 'Face Left
                          #raw FE 'End of Movements
                          #org 0x800149
                          #raw 13 'Step Right (Normal)
                          #raw 13 'Step Right (Normal)
                          #raw 13 'Step Right (Normal)
                          #raw FE 'End of Movements
                          #org 0x80014E
                          #raw 3 'Face Right
                          #raw 12 'Step Left (Normal)
                          #raw 12 'Step Left (Normal)
                          #raw 12 'Step Left (Normal)
                          #raw FE 'End of Movements

                          '---------
                          ' Strings
                          '---------
                          #org 0x800154
                          = Hey, [player]!
                          #org 0x800162
                          = JERRY'S MUM: So you finally woke up, \neh?\pJerry and the others woke up ages\nago - I think they've all gone to\lBlitzore City.\pAnyways, your mum called in here\nearlier. She was acting really\lstressed and stuff[.]\pShe told me she wants you to go\nhome now, so if it doesn't bother\lyou, I think that'd be a good idea,\lyeah?\pIt was nice seeing you, by the way.
                          Soo basically it skips the script up to 0x8800149, ignoring all of the stuff up to there. Also, after the textbox the script ends, ignoring the flag setting and the movement afterwards. Probably an easy solution, but do you know what's up?
                          __________________
                            #7290    
                          Old September 3rd, 2012 (10:21 AM). Edited September 3rd, 2012 by Darkrai87.
                          Darkrai87 Darkrai87 is offline
                             
                            Join Date: Dec 2010
                            Gender: Male
                            Posts: 20
                            Quote:
                            Originally Posted by SKRoy View Post
                            I did... But now when I walked over the and nothing happend...
                            Posting the script would help us a lot, also when doing applymovement 0x(#) @pointer are you making sure that the (#) is the person event no. of the sprite you want to move. Also, in A-Map make sure you're setting the first Unknown to 0300 and the Var number to 4050 on the script tile as previously stated.
                            Quote:
                            Originally Posted by Controversial? View Post
                            Okay, here's me n00bing out..



                            Soo basically it skips the script up to 0x8800149, ignoring all of the stuff up to there. Also, after the textbox the script ends, ignoring the flag setting and the movement afterwards. Probably an easy solution, but do you know what's up?
                            Posting the original non-compiled script makes it a lot easier for us to help you. But I have a feeling it has to do with the #org 80023C but that's just a guess.
                            __________________
                            Currently playing through: Pokemon Flora Sky
                              #7291    
                            Old September 4th, 2012 (1:19 AM).
                            SKRoy SKRoy is offline
                            Pokémon Hacker
                               
                              Join Date: Mar 2010
                              Gender: Male
                              Posts: 66
                              Quote:
                              Originally Posted by Darkrai87 View Post
                              Posting the script would help us a lot, also when doing applymovement 0x(#) @pointer are you making sure that the (#) is the person event no. of the sprite you want to move. Also, in A-Map make sure you're setting the first Unknown to 0300 and the Var number to 4050 on the script tile as previously stated.
                              Posting the original non-compiled script makes it a lot easier for us to help you. But I have a feeling it has to do with the #org 80023C but that's just a guess.
                              This is the script:

                              #dynamic 0x800000

                              #org @start
                              checkflag 0x1150
                              if 0x1 goto @done2
                              checkflag 0x820
                              if 0x1 goto @done
                              message @talk 0x6
                              applymovement 0x06 @move2
                              applymovement 0xFF @move
                              waitmovement 0x0
                              release
                              end

                              #org @talk
                              = You don't have your first badge!

                              #org @move
                              #raw 0x12
                              #raw 0x3
                              #raw 0xFE

                              #org @move2
                              #raw 0x10
                              #raw 0x2
                              #raw 0xFE

                              #org @done
                              lock
                              faceplayer
                              message @1 0x6
                              givepokemon 0x385 0x5 0x0 0x0 0x0 0x0
                              fanfare 0x13E
                              message @2 0x4
                              waitfanfare
                              closeonkeypress
                              setflag 0x1150
                              message @3 0x5
                              compare LASTRESULT 0x1
                              if 0x1 gosub @name
                              message @4 0x6
                              release
                              end

                              #org @done2
                              release
                              end

                              #org @name
                              call 0x1A74EB
                              return

                              #org @1
                              = I see you have your first badge!\nNow I have something for you!

                              #org @2
                              = [black_fr]You received a Castform!

                              #org @3
                              = [black_fr]Would you like to give a\nnickname to Castform?

                              #org @4
                              = Please take care of Castform!
                              __________________
                                #7292    
                              Old September 4th, 2012 (4:59 AM).
                              iLoveHate's Avatar
                              iLoveHate iLoveHate is offline
                              Hmmmmmm.... :D
                                 
                                Join Date: Aug 2012
                                Location: Holland :D
                                Gender: Male
                                Nature: Modest
                                Posts: 35
                                Haia i got a question this time aswell, haha.
                                Last time i made a givepokemon script, you guysn think: LOL thats not hard.You are right but im stuck at 1 thing. When i want to give the pokemon a nickname it skips that part.
                                here is the script:
                                Spoiler:


                                #dynamic 0x800000

                                #org @start
                                lock
                                faceplayer
                                checkflag 0x1001
                                if 0x1 goto @beat
                                trainerbattle 0x1 0x15F 0x0 @before @after @beat
                                end

                                #org @before
                                = I will win!

                                #org @after
                                = This, this can't be....

                                #org @beat
                                msgbox @beaten 0x4
                                closeonkeypress
                                setflag 0x1001
                                checkflag 0x1002
                                if 0x1 goto @end
                                msgbox @charmander 0x5
                                compare LASTRESULT 0x1
                                if 0x1 goto @givechar
                                msgbox @no 0x6
                                goto @end
                                end

                                #org @no
                                = Talk to me again if you want a\nCharmander

                                #org @charmander
                                = Do you want a Charmander?

                                #org @beaten
                                = Hmmph, you beat me...

                                #org @givechar
                                givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
                                fanfare 0x13E
                                msgbox @received 0x4
                                waitfanfare
                                closeonkeypress
                                setflag 0x1002
                                msgbox @nickname 0x5
                                compare LASTRESULT 0x1
                                if 0x1 goto @nick
                                goto @end
                                end

                                #org @nickname
                                = Give it a nickname?

                                #org @received
                                = You received a Charmander

                                #org @nick
                                call 0x1A74EB
                                return

                                #org @end
                                release
                                end


                                If i say 'YES' you hear something and then you are free to go, so it did go to @nick but he didnt call 0x1A74EB

                                Things i tried:
                                if 0x1 goto @nick
                                if 0x1 gosub @nick
                                if 0x1 call @nick

                                It just skips the part when i can give the poke a nickname. and yes i am using XSE 1.1.1
                                __________________
                                One does not simply make a pokemon hack
                                  #7293    
                                Old September 4th, 2012 (6:17 AM).
                                SKRoy SKRoy is offline
                                Pokémon Hacker
                                   
                                  Join Date: Mar 2010
                                  Gender: Male
                                  Posts: 66
                                  I have a script:

                                  Spoiler:
                                  #dynamic 0x800000

                                  #org @start
                                  lock
                                  checkflag 0x1150
                                  if 0x1 goto @done2
                                  checkflag 0x820
                                  if 0x1 goto @done
                                  applymovement 0x06 @move2
                                  waitmovement 0x0
                                  message @talk 0x6
                                  applymovement 0xFF @move
                                  applymovement 0x6 @move3
                                  waitmovement 0x0
                                  release
                                  end

                                  #org @talk
                                  = You don't have your first badge!

                                  #org @move
                                  #raw 0x12
                                  #raw 0xFE

                                  #org @move2
                                  #raw 0x10
                                  #raw 0xFE

                                  #org @move3
                                  #raw 0x11
                                  #raw 0x0
                                  #raw 0xFE

                                  #org @done
                                  faceplayer
                                  message @1 0x6
                                  givepokemon 0x385 0x5 0x0 0x0 0x0 0x0
                                  message @2 0x4
                                  message @3 0x6
                                  setflag 0x1150
                                  release
                                  end

                                  #org @done2
                                  release
                                  end

                                  #org @1
                                  = I see you have your first badge!\nNow I have something for you!

                                  #org @2
                                  = [black_fr]You received a Castform!

                                  #org @3
                                  = Please take care of Castform!


                                  The script works until the GIVE POKEMON part start. Then the game just freeze and I can't do anything. How can I fix this?
                                  __________________
                                    #7294    
                                  Old September 4th, 2012 (6:39 AM).
                                  destinedjagold's Avatar
                                  destinedjagold destinedjagold is offline
                                  Oh Hai Thar~
                                  • Silver Tier
                                   
                                  Join Date: May 2007
                                  Location: Philippines
                                  Age: 26
                                  Gender: Male
                                  Nature: Careful
                                  Posts: 8,520
                                  Quote:
                                  Originally Posted by SKRoy View Post
                                  I have a script:

                                  Spoiler:
                                  #dynamic 0x800000

                                  #org @start
                                  lock
                                  checkflag 0x1150
                                  if 0x1 goto @done2
                                  checkflag 0x820
                                  if 0x1 goto @done
                                  applymovement 0x06 @move2
                                  waitmovement 0x0
                                  message @talk 0x6
                                  applymovement 0xFF @move
                                  applymovement 0x6 @move3
                                  waitmovement 0x0
                                  release
                                  end

                                  #org @talk
                                  = You don't have your first badge!

                                  #org @move
                                  #raw 0x12
                                  #raw 0xFE

                                  #org @move2
                                  #raw 0x10
                                  #raw 0xFE

                                  #org @move3
                                  #raw 0x11
                                  #raw 0x0
                                  #raw 0xFE

                                  #org @done
                                  faceplayer
                                  message @1 0x6
                                  givepokemon 0x385 0x5 0x0 0x0 0x0 0x0
                                  message @2 0x4
                                  message @3 0x6
                                  setflag 0x1150
                                  release
                                  end

                                  #org @done2
                                  release
                                  end

                                  #org @1
                                  = I see you have your first badge!\nNow I have something for you!

                                  #org @2
                                  = [black_fr]You received a Castform!

                                  #org @3
                                  = Please take care of Castform!


                                  The script works until the GIVE POKEMON part start. Then the game just freeze and I can't do anything. How can I fix this?
                                  I am guessing that it's not working, it's because that instead of providing the ROM with the hex number of Castform, you instead gave the ROM Castform's game number, written in hex format.
                                  Please bear the thought that...
                                  Code:
                                  givepokemon 0x385
                                  ...and...
                                  Code:
                                  givepokemon 385
                                  ...are NOT the same.
                                  Therefore, there is no such PKMN bearing the hex number 0x385.
                                  __________________


                                  FC: 0061-1111-6462
                                  TSV: 1364(X), 0790(OR)

                                    #7295    
                                  Old September 4th, 2012 (12:25 PM).
                                  Darkrai87 Darkrai87 is offline
                                     
                                    Join Date: Dec 2010
                                    Gender: Male
                                    Posts: 20
                                    @SKRoy What destined said, change the "givepokemon 0x385" to "givepokemon 0x181". Also in your @done2 pointer, the release isn't needed seeing as you never used lock, but that's just me being picky. xD

                                    @iLoveHate What game did you test the script on?
                                    __________________
                                    Currently playing through: Pokemon Flora Sky
                                      #7296    
                                    Old September 7th, 2012 (8:47 PM).
                                    PokemonMasters's Avatar
                                    PokemonMasters PokemonMasters is offline
                                    Always Remember Forever&After
                                       
                                      Join Date: Jun 2012
                                      Location: Nuvema Town, Unova
                                      Gender: Male
                                      Nature: Calm
                                      Posts: 403
                                      there is something wrong with this script. After i win i and i talk to him nothing happens.
                                      '-----------------------
                                      #org 0x800000
                                      trainerbattle 0x0 0x1 0x0 0x8800017 0x8800041
                                      msgbox 0x880005D '"I will train harder to defeat you!"
                                      release
                                      end


                                      '---------
                                      ' Strings
                                      '---------
                                      #org 0x800017
                                      = This will be my first Pokemon Battle!!

                                      #org 0x800041
                                      = No! I Lost! This can't be!

                                      #org 0x80005D
                                      = I will train harder to defeat you!
                                      __________________

                                      +ForeverDash on PC's Battle Server | Pair | VM/PM |Partner In Crime
                                        #7297    
                                      Old September 8th, 2012 (2:34 PM).
                                      PNT101 PNT101 is offline
                                         
                                        Join Date: May 2012
                                        Gender: Male
                                        Posts: 9
                                        I was wondering if anyone could help me find the script for this scene in Pokemon Emerald:

                                        i.imgur.com/2HTYp.png

                                        That is the event when you enter your rival's house for the first time.

                                        I can't seem to find it anywhere here:
                                        i.imgur.com/xjngG.png
                                          #7298    
                                        Old September 8th, 2012 (3:03 PM).
                                        shbshb shbshb is offline
                                           
                                          Join Date: Sep 2010
                                          Gender: Male
                                          Posts: 2
                                          I used my PKSV to fight a celebi. But whenever I catch the celebi it doesn't disappear, but when i run away or beat it, it says mewtwo flown away and it disappears.
                                          #dyn 0x740000
                                          #org @start
                                          special 0x187
                                          compare LASTRESULT 2
                                          if == jump 0x81A7AE0
                                          special 0x188
                                          lock
                                          faceplayer
                                          checksound
                                          cry CELEBI 2
                                          waitcry
                                          pause 0x14
                                          playsound 0x156 0x0
                                          battle CELEBI 0x52 BLACKFLUTE
                                          setflag 0x807
                                          special 0x138
                                          waitspecial
                                          removcesprite 0x800F
                                          clearflag 0x807
                                          special2 0x800D 0xB4
                                          compare LASTRESULT 1
                                          if == jump 0x8162558
                                          compare LASTRESULT 4
                                          if == jump 0x8162561
                                          compare LASTRESULT 5
                                          if == jump 0x8162561
                                          setflag 0x211
                                          fadescreen 0
                                          release
                                          end
                                            #7299    
                                          Old September 9th, 2012 (10:11 AM).
                                          iLoveHate's Avatar
                                          iLoveHate iLoveHate is offline
                                          Hmmmmmm.... :D
                                             
                                            Join Date: Aug 2012
                                            Location: Holland :D
                                            Gender: Male
                                            Nature: Modest
                                            Posts: 35
                                            Quote:
                                            Originally Posted by PNT101 View Post
                                            I was wondering if anyone could help me find the script for this scene in Pokemon Emerald:

                                            i.imgur.com/2HTYp.png

                                            That is the event when you enter your rival's house for the first time.

                                            I can't seem to find it anywhere here:
                                            i.imgur.com/xjngG.png
                                            Haia, that script is called a level script. a level script is when you enter somewhere something happens instead of walking at a certain spot.

                                            You can find those scripts in the Header tab of the map.
                                            then go to the map script part.
                                            there might be more then 1 level script but as you can see you can select 1 and open the script.
                                            __________________
                                            One does not simply make a pokemon hack
                                              #7300    
                                            Old September 9th, 2012 (11:59 AM).
                                            Meowing Mewtwo's Avatar
                                            Meowing Mewtwo Meowing Mewtwo is offline
                                               
                                              Join Date: Aug 2012
                                              Location: California
                                              Gender: Other
                                              Nature: Serious
                                              Posts: 27
                                              Okay, I have a big problem.
                                              A REEEEEEEEALLY big problem.

                                              Game: Pokemon Topaz Version, the first of the Garnet Dynasty Triad

                                              Base: Pokemon Ruby Version

                                              Script type: That depends, as I've tried to fix it so many times. I'll say it's a ground panel (I forgot what they're really called).

                                              Script editor: That's kinda where the problem starts.

                                              My problem is pretty bad. You see, I've tried so hard to get this right. It started with my use of PokeScript not working. Then it was my use of XSE that didn't work, and now it's my use of PKSV that doesn't work. I've tried basically every reliable script editor, but one of two things will happen; either the clicky noise of when a text box pops up (or the level-up sound) will happen, but nothing else will, or the worse one, a glitched up poke mart on steroids will appear. It's impossible to exit from, and it looks like poop, not to mention it breaks my ROM pretty much every stinkin' time! I just can't figure this out, and any help would be appreciated. Thanks for reading this absurdly long post, I hope someone can help me fix this!

                                              Oh, duh! I'm in the script help thread! Here's the freaked out script that hates my guts.


                                              Code:
                                              #dyn 0x740000
                                              #org @begin
                                              m walk_down_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow look_down walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow look_up walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow walk_up_vslow end
                                              trainerbattle 0x0 0x256 0x0 @thelegendspeaks @upondefeat
                                              msgbox @aftermath
                                              callstd MSG_NORMAL
                                              release
                                              end
                                              
                                              #org @thelegendspeaks
                                              = Latias: So[.] you came. You\nare ready to meet your\ldestiny, I presume?\pv\h01: I suppose[.] But I'm a\llittle nervous[.]\pLatias: That doesn't matter.\lDestiny cannot be changed, and\las my duties inform me, I\lcannot allow you to live. So\lwill you give up now, or force\lmy power?\pv\h01: Wait, WHAT?!\pI wasn't supposed to DIE!\pI can't! I have so much in my\llife[.]\pLatias: Like I already said, I\lcannot allow you to live.\pYou made me do this.\pI am afraid that you must\lperish now.\pBe ready to feel darkness, v\h01!
                                              
                                              #org @upondefeat
                                              = Not possible[.]!
                                              
                                              #org @aftermath
                                              = No! Destiny cannot be disrupted!\nYou should've given up your\llife when you had the chance!


                                              Oh, and I wrote it in PKSV (by score_under) Scripting doesen't work on either of my computers, by the way.

                                              Thanks in advance!

                                              ~M.M.
                                              __________________
                                              This account is dead and has been for a long time.
                                              I did, however, remake it on August 09, 2014. You can find my new location here.
                                              Closed Thread
                                              Quick Reply

                                              Sponsored Links
                                              Thread Tools

                                              Posting Rules
                                              You may not post new threads
                                              You may not post replies
                                              You may not post attachments
                                              You may not edit your posts

                                              BB code is On
                                              Smilies are On
                                              [IMG] code is On
                                              HTML code is Off

                                              Forum Jump


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