- Joined
- Jun 20, 2015
- Messages
- 34
- Reaction score
- 7
- First Language
- English
- Primarily Uses
Afternoon, would someone be able to point me in the right direction.
I'm reading some scripts from Pokemon Essentials, specifically how they go about reading/writing from their text files.
I've come across this a lot
I tried to look it up and I came across ASCII and UTF-8 but it doesn't seem to match.
Do you know of any tutorials or links that would help me understand what is going on there?
I'm reading some scripts from Pokemon Essentials, specifically how they go about reading/writing from their text files.
I've come across this a lot
Code:
def pbWriteDefaultTypes
if !safeExists?("PBS/types.txt")
File.open("PBS/types.txt","w"){|f|
f.write(0xEF.chr)
f.write(0xBB.chr)
f.write(0xBF.chr)
fx=<<END
[0]
Name=Normal
InternalName=NORMAL
Weaknesses=FIGHTING
Immunities=GHOST
Do you know of any tutorials or links that would help me understand what is going on there?
