mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Tweaks relating to previous commit
This commit is contained in:
@@ -229,7 +229,7 @@ class PokemonPokedexInfo_Scene
|
||||
# Write the height and weight
|
||||
height = species_data.height
|
||||
weight = species_data.weight
|
||||
if pbGetCountry == 0xF4 # If the user is in the United States
|
||||
if System.user_language[3..4] == "US" # If the user is in the United States
|
||||
inches = (height / 0.254).round
|
||||
pounds = (weight / 0.45359).round
|
||||
textpos.push([_ISPRINTF("{1:d}'{2:02d}\"", inches / 12, inches % 12), 460, 158, 1, base, shadow])
|
||||
@@ -263,7 +263,7 @@ class PokemonPokedexInfo_Scene
|
||||
# Write the category
|
||||
textpos.push([_INTL("????? Pokémon"), 246, 74, 0, base, shadow])
|
||||
# Write the height and weight
|
||||
if pbGetCountry == 0xF4 # If the user is in the United States
|
||||
if System.user_language[3..4] == "US" # If the user is in the United States
|
||||
textpos.push([_INTL("???'??\""), 460, 158, 1, base, shadow])
|
||||
textpos.push([_INTL("????.? lbs."), 494, 190, 1, base, shadow])
|
||||
else
|
||||
|
||||
@@ -171,11 +171,7 @@ class PokemonRegionMap_Scene
|
||||
# TODO: Why is this PBS file writer here?
|
||||
def pbSaveMapData
|
||||
File.open("PBS/townmap.txt","wb") { |f|
|
||||
f.write(0xEF.chr)
|
||||
f.write(0xBB.chr)
|
||||
f.write(0xBF.chr)
|
||||
f.write("\# "+_INTL("See the documentation on the wiki to learn how to edit this file."))
|
||||
f.write("\r\n")
|
||||
Compiler.add_PBS_header_to_file(f)
|
||||
for i in 0...@mapdata.length
|
||||
map = @mapdata[i]
|
||||
next if !map
|
||||
|
||||
Reference in New Issue
Block a user