PokemonGameEditor/GBAPokemonGameEditor/PointerOffsetFunctions.vb
Gamer2020 adc0696c32 Source Code Uploaded!
Finally got around to uploading the source code. There are still things
to be done. Once a couple of things are fixed a released will be made.
In the mean time people that know how to compile the program can do so
but make sure to adhere to the license.
2014-09-02 21:18:22 -04:00

12 lines
414 B
VB.net

Module PointerOffsetFunctions
'Don't even know if these work. Was going to write pointer functions but never did. - Gamer2020
Public Function Pointer2Offset(ByVal Pointer As String)
Pointer2Offset = (ReverseHEX((Pointer)) - &H8000000)
End Function
Public Function Offset2Pointer(ByVal Offset As Long)
Offset2Pointer = ReverseHEX(Offset) + &H8000000
End Function
End Module