mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Finalised input names, added some more save file conversion code
This commit is contained in:
@@ -882,7 +882,7 @@ class SpriteWindow_Selectable < SpriteWindow_Base
|
||||
update_cursor_rect
|
||||
end
|
||||
end
|
||||
elsif Input.repeat?(Input::L)
|
||||
elsif Input.repeat?(Input::JUMPUP)
|
||||
if @index > 0
|
||||
oldindex = @index
|
||||
@index = [self.index-self.page_item_max, 0].max
|
||||
@@ -892,7 +892,7 @@ class SpriteWindow_Selectable < SpriteWindow_Base
|
||||
update_cursor_rect
|
||||
end
|
||||
end
|
||||
elsif Input.repeat?(Input::R)
|
||||
elsif Input.repeat?(Input::JUMPDOWN)
|
||||
if @index < @item_max-1
|
||||
oldindex = @index
|
||||
@index = [self.index+self.page_item_max, @item_max-1].min
|
||||
|
||||
@@ -226,13 +226,13 @@ class Window_TextEntry < SpriteWindow_Base
|
||||
self.refresh if (@frame%10)==0
|
||||
return if !self.active
|
||||
# Moving cursor
|
||||
if Input.repeat?(Input::LEFT) && Input.press?(Input::SPECIAL)
|
||||
if Input.repeat?(Input::LEFT) && Input.press?(Input::ACTION)
|
||||
if @helper.cursor > 0
|
||||
@helper.cursor -= 1
|
||||
@frame = 0
|
||||
self.refresh
|
||||
end
|
||||
elsif Input.repeat?(Input::RIGHT) && Input.press?(Input::SPECIAL)
|
||||
elsif Input.repeat?(Input::RIGHT) && Input.press?(Input::ACTION)
|
||||
if @helper.cursor < self.text.scan(/./m).length
|
||||
@helper.cursor += 1
|
||||
@frame = 0
|
||||
@@ -1311,9 +1311,9 @@ class PokemonEntryScene2
|
||||
Input.update
|
||||
pbUpdate
|
||||
next if pbMoveCursor
|
||||
if Input.trigger?(Input::Z)
|
||||
if Input.trigger?(Input::SPECIAL)
|
||||
pbChangeTab
|
||||
elsif Input.trigger?(Input::SPECIAL)
|
||||
elsif Input.trigger?(Input::ACTION)
|
||||
@cursorpos = OK
|
||||
@sprites["cursor"].setCursorPos(@cursorpos)
|
||||
elsif Input.trigger?(Input::BACK)
|
||||
|
||||
Reference in New Issue
Block a user