Male
Seen 2 Weeks Ago
Posted March 14th, 2020
207 posts
3.7 Years
Hey Guys, This is my first tutorial, so please forgive my bad English and ignore any typos.
Without further ado, let's go!

1)
Compile the script, or Asm routine you want to add as a special.
Note down your offset.
2)
Open your Rom in HxD.
[the specials table starts at 0x15FD60].
After you are there, Take a reference from here;
Spoiler:

0x6
0x7
0x8
0x9
0xA
0xB
0xC
0xD
0xE
0xF
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
0x18
0x19
0x1A
0x1B
0x24
0x25
0x26
0x2B
0x2C
0x2D
0x2E
0x2F
0x30
0x31
0x32
0x3E
0x3F
0x40
0x41
0x42
0x43
0x44
0x46
0x47
0x48
0x49
0x4A
0x4B
0x4C
0x4D
0x4E
0x4F
0x50
0x51
0x52
0x53
0x54
0x55
0x56
0x57
0x58
0x59
0x5A
0x5B
0x61
0x62
0x63
0x64
0x65
0x66
0x67
0x68
0x69
0x6A
0x6B
0x6C
0x6D
0x6E
0x6F
0x70
0x71
0x72
0x73
0x74
0x75
0x76
0x7E
0x7F
0x81
0x86
0x87
0x88
0x89
0x8A
0x8B
0x8C
0x90
0x91
0x92
0x97
0x98
0x9A
0x9B
0x9C
0xA0
0xA1
0xA2
0xAC
0xAD
0xAE
0xAF
0xB0
0xB1
0xB2
0xB3
0xC9
0xCA
0xCB
0xCC
0xCF
0xD0
0xD1
0xD2
0xD3
0xD9
0xDA
0xE1
0xE2
0xE4
0xE5
0xF7
0x100
0x101
0x102
0x103
0x104
0x105
0x109
0x10A
0x10B
0x10C
0x10D
0x112
0x115
0x116
0x117
0x118
0x119
0x11A
0x11B
0x11C
0x120
0x121
0x122
0x123
0x124
0x12A
0x12C
0x12D
0x12F
0x131
0x133
0x13B
0x13C
0x140
0x141
0x144
0x145
0x146
0x149
0x14A
0x14D
0x14E
0x151
0x154
This is the list of unused specials in FR Vanilla Rom.

3)
Multipy your special with four and add the table location to it.
Suppose you want to use the unused special 0x154,
Formula;
Spoiler:
(Special no*4) + 0x15FD60

After you do the Math, and get the new offset, place pointer to your compiled script OR asm there.
Then you are ready to use that special in XSE scripting.
I'm including a bunch of specials from JPAN's Engine.
P.S. please use the special JPAN mentions, otherwise it wont work somehow.

CREDITS:
Spoiler:

JPAN - For main Source.rar.
mbcn10ww - For Special table location.
Me - (Not required but appreciated)

Dr. Seuss

Messirve 😎

Age 25
Male
Guatemala City
Seen 1 Hour Ago
Posted 1 Day Ago
453 posts
6.7 Years
I just need to make sure I understood correctly.

1. So we can have as special either a script or an ASM routine.
2. We do not need to have JPAN's engine to make it work. Right?
Graphic design is my passion...

Click on the picture to see the best hack ever created (?
Male
Seen 2 Weeks Ago
Posted March 14th, 2020
207 posts
3.7 Years
I just need to make sure I understood correctly.

1. So we can have as special either a script or an ASM routine.
2. We do not need to have JPAN's engine to make it work. Right?
Sorry for the VERY late reply;
but yes, 1 is true and
2 yes, you don't need JPAN's engine for this. As far as I remember, using JPAN's engine would let you use all of his engine's feature by the special he specifically assigned to the said features.

This lets you have the freedom to choose what script/asm is triggered/called when you call a certain special which you can use in your normal scripting afterwards (you can use the ones I mentioned which are unused by the Vanilla rom).