mirror of
https://github.com/Gamer2020/PokemonGameEditor.git
synced 2026-05-09 12:51:47 -05:00
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.
12 lines
414 B
VB.net
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
|