[Information] Pokemon 3DS games probably use Pawn vm for scripting
I was looking at the opcodes used by the scripting language, and was reminded of a vm that I used a long time ago: the Pawn VM. Doing some comparisons showed that the opcodes match the last 3.X version of pawn (https://github.com/compuphase/pawn/tree/b0cd23fbc91501e463d6ab428e4736e28c426cf4). Note that the VM part is called AMX.
I've made a gist of the opcodes as defined in the pawn source code here: https://gist.github.com/PlasmonicXenon/ade037df3240b938525231c93c63a6f6.
Do what you will with this information. If you want, I can make a pull request updating the script definitions.
Ye, we've known about it for years. pkNX has a more updated attempt to look into scripts:
https://github.com/kwsch/pkNX/search?q=pawn
There's also this: https://github.com/HelloOO7/gf-pawncc
They still use pawn in their current games (Sword/Shield), but it hasn't really been an area of active development.