Module: Debugger
- Defined in:
- docs/00700_Ajout_PSDK.rb
Overview
A module that helps the PSDK_DEBUG to perform some commands
Constant Summary collapse
- WarpError =
Warp Error message
'Aucune map de cet ID'
- WarpMapName =
Name of the map to load to prevent warp error
'Data/Map%03d.rxdata'
Class Method Summary collapse
-
.__find_maker_warp(id) ⇒ Boolean
Find the normal position where the player should warp in a specific map.
-
.__find_map_warp(map)
Find an alternative position where to warp.
-
.__warp_command_found(pages) ⇒ Boolean
Detect a teleport command in the pages of an event.
-
.battle_trainer(id, bgm = Interpreter::DEFAULT_TRAINER_BGM, troop_id = 3)
Fight a specific trainer by its ID.
-
.warp(id, x = -1,, y = -1))
Warp command.
Class Method Details
.__find_maker_warp(id) ⇒ Boolean
Find the normal position where the player should warp in a specific map
536 537 |
# File 'docs/00700_Ajout_PSDK.rb', line 536 def __find_maker_warp(id) end |
.__find_map_warp(map)
Find an alternative position where to warp
541 542 |
# File 'docs/00700_Ajout_PSDK.rb', line 541 def __find_map_warp(map) end |
.__warp_command_found(pages) ⇒ Boolean
Detect a teleport command in the pages of an event
547 548 |
# File 'docs/00700_Ajout_PSDK.rb', line 547 def __warp_command_found(pages) end |
.battle_trainer(id, bgm = Interpreter::DEFAULT_TRAINER_BGM, troop_id = 3)
Fight a specific trainer by its ID
530 531 |
# File 'docs/00700_Ajout_PSDK.rb', line 530 def battle_trainer(id, bgm = Interpreter::DEFAULT_TRAINER_BGM, troop_id = 3) end |
.warp(id, x = -1,, y = -1))
Warp command
524 525 |
# File 'docs/00700_Ajout_PSDK.rb', line 524 def warp(id, x = -1, y = -1) end |