Class: Game_Temp

Inherits:
Object show all
Defined in:
docs/00600_Script_RMXP.rb

Overview

Class that stores a lot of Game State

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGame_Temp

Initialize with default game state



556
557
# File 'docs/00600_Script_RMXP.rb', line 556

def initialize
end

Instance Attribute Details

#battle_abort

バトル イベント実行済みフラグ



485
486
487
# File 'docs/00600_Script_RMXP.rb', line 485

def battle_abort
  @battle_abort
end

#battle_calling

戦闘中フラグ



468
469
470
# File 'docs/00600_Script_RMXP.rb', line 468

def battle_calling
  @battle_calling
end

#battle_can_escape

バトル トループ ID



472
473
474
# File 'docs/00600_Script_RMXP.rb', line 472

def battle_can_escape
  @battle_can_escape
end

#battle_can_lose

バトル 逃走可能フラグ



474
475
476
# File 'docs/00600_Script_RMXP.rb', line 474

def battle_can_lose
  @battle_can_lose
end

#battle_event_flags

Returns the value of attribute battle_event_flags.



483
484
485
# File 'docs/00600_Script_RMXP.rb', line 483

def battle_event_flags
  @battle_event_flags
end

#battle_main_phase

バトル 中断フラグ



487
488
489
# File 'docs/00600_Script_RMXP.rb', line 487

def battle_main_phase
  @battle_main_phase
end

#battle_proc

バトル 敗北可能フラグ



476
477
478
# File 'docs/00600_Script_RMXP.rb', line 476

def battle_proc
  @battle_proc
end

#battle_troop_id

バトル 呼び出しフラグ



470
471
472
# File 'docs/00600_Script_RMXP.rb', line 470

def battle_troop_id
  @battle_troop_id
end

#battle_turnInteger

バトル コールバック (Proc) Current turn of the battle

  • each time AI is about to get triggered, this counter increase by 1 (after player choice)

  • starts at 0 before 1st AI trigger (meaning that launching all Pokemon phase is 0)

Returns:

  • (Integer)


482
483
484
# File 'docs/00600_Script_RMXP.rb', line 482

def battle_turn
  @battle_turn
end

#battleback_name

バトル メインフェーズフラグ



489
490
491
# File 'docs/00600_Script_RMXP.rb', line 489

def battleback_name
  @battleback_name
end

#choice_cancel_type

選択肢 項目数



452
453
454
# File 'docs/00600_Script_RMXP.rb', line 452

def choice_cancel_type
  @choice_cancel_type
end

#choice_max

選択肢 開始行



450
451
452
# File 'docs/00600_Script_RMXP.rb', line 450

def choice_max
  @choice_max
end

#choice_proc

選択肢 キャンセルの場合



454
455
456
# File 'docs/00600_Script_RMXP.rb', line 454

def choice_proc
  @choice_proc
end

#choice_start

Tableau contenant les choix



448
449
450
# File 'docs/00600_Script_RMXP.rb', line 448

def choice_start
  @choice_start
end

#choices

メッセージ コールバック (Proc)



446
447
448
# File 'docs/00600_Script_RMXP.rb', line 446

def choices
  @choices
end

#common_event_id

メッセージウィンドウ表示中



464
465
466
# File 'docs/00600_Script_RMXP.rb', line 464

def common_event_id
  @common_event_id
end

#debug_calling

セーブ 呼び出しフラグ



509
510
511
# File 'docs/00600_Script_RMXP.rb', line 509

def debug_calling
  @debug_calling
end

#debug_index

デバッグ画面 状態保存用



533
534
535
# File 'docs/00600_Script_RMXP.rb', line 533

def debug_index
  @debug_index
end

#debug_top_row

最後にセーブしたファイルの番号



531
532
533
# File 'docs/00600_Script_RMXP.rb', line 531

def debug_top_row
  @debug_top_row
end

#enemy_battler

Returns the value of attribute enemy_battler.



541
542
543
# File 'docs/00600_Script_RMXP.rb', line 541

def enemy_battler
  @enemy_battler
end

#forcing_battler

バトルバック ファイル名



491
492
493
# File 'docs/00600_Script_RMXP.rb', line 491

def forcing_battler
  @forcing_battler
end

#gameover

トランジション ファイル名



525
526
527
# File 'docs/00600_Script_RMXP.rb', line 525

def gameover
  @gameover
end

#god_mode

Dernière position dans le menu



537
538
539
# File 'docs/00600_Script_RMXP.rb', line 537

def god_mode
  @god_mode
end

#in_battle

コモンイベント ID



466
467
468
# File 'docs/00600_Script_RMXP.rb', line 466

def in_battle
  @in_battle
end

#last_file_index

タイトル画面に戻すフラグ



529
530
531
# File 'docs/00600_Script_RMXP.rb', line 529

def last_file_index
  @last_file_index
end

#last_menu_index

デバッグ画面 状態保存用



535
536
537
# File 'docs/00600_Script_RMXP.rb', line 535

def last_menu_index
  @last_menu_index
end

#last_repel_used_id

Store the id of last repel used



554
555
556
# File 'docs/00600_Script_RMXP.rb', line 554

def last_repel_used_id
  @last_repel_used_id
end

#map_bgm

Returns the value of attribute map_bgm.



440
441
442
# File 'docs/00600_Script_RMXP.rb', line 440

def map_bgm
  @map_bgm
end

#maplinker_map_idString

ID of the currently processed map by the maplinker (to fetch the tileset)

Returns:



552
553
554
# File 'docs/00600_Script_RMXP.rb', line 552

def maplinker_map_id
  @maplinker_map_id
end

メニュー 呼び出しフラグ



505
506
507
# File 'docs/00600_Script_RMXP.rb', line 505

def menu_beep
  @menu_beep
end

名前入力 最大文字数



503
504
505
# File 'docs/00600_Script_RMXP.rb', line 503

def menu_calling
  @menu_calling
end

#message_proc

メッセージ 文章



444
445
446
# File 'docs/00600_Script_RMXP.rb', line 444

def message_proc
  @message_proc
end

#message_text

マップ画面 BGM (バトル時記憶用)



442
443
444
# File 'docs/00600_Script_RMXP.rb', line 442

def message_text
  @message_text
end

#message_window_showing

数値入力 桁数



462
463
464
# File 'docs/00600_Script_RMXP.rb', line 462

def message_window_showing
  @message_window_showing
end

#name_actor_id

名前入力 呼び出しフラグ



499
500
501
# File 'docs/00600_Script_RMXP.rb', line 499

def name_actor_id
  @name_actor_id
end

#name_calling

ショップ 商品リスト



497
498
499
# File 'docs/00600_Script_RMXP.rb', line 497

def name_calling
  @name_calling
end

#name_max_char

名前入力 アクター ID



501
502
503
# File 'docs/00600_Script_RMXP.rb', line 501

def name_max_char
  @name_max_char
end

#num_input_digits_max

数値入力 変数 ID



460
461
462
# File 'docs/00600_Script_RMXP.rb', line 460

def num_input_digits_max
  @num_input_digits_max
end

#num_input_start

選択肢 コールバック (Proc)



456
457
458
# File 'docs/00600_Script_RMXP.rb', line 456

def num_input_start
  @num_input_start
end

#num_input_variable_id

数値入力 開始行



458
459
460
# File 'docs/00600_Script_RMXP.rb', line 458

def num_input_variable_id
  @num_input_variable_id
end

#player_new_direction

プレイヤー移動先 Y 座標



519
520
521
# File 'docs/00600_Script_RMXP.rb', line 519

def player_new_direction
  @player_new_direction
end

#player_new_map_id

プレイヤー場所移動フラグ



513
514
515
# File 'docs/00600_Script_RMXP.rb', line 513

def player_new_map_id
  @player_new_map_id
end

#player_new_x

プレイヤー移動先 マップ ID



515
516
517
# File 'docs/00600_Script_RMXP.rb', line 515

def player_new_x
  @player_new_x
end

#player_new_y

プレイヤー移動先 X 座標



517
518
519
# File 'docs/00600_Script_RMXP.rb', line 517

def player_new_y
  @player_new_y
end

#player_transferring

デバッグ 呼び出しフラグ



511
512
513
# File 'docs/00600_Script_RMXP.rb', line 511

def player_transferring
  @player_transferring
end

#save_calling

メニュー SE 演奏フラグ



507
508
509
# File 'docs/00600_Script_RMXP.rb', line 507

def save_calling
  @save_calling
end

#shop_calling

アクション強制対象のバトラー



493
494
495
# File 'docs/00600_Script_RMXP.rb', line 493

def shop_calling
  @shop_calling
end

#shop_goods

ショップ 呼び出しフラグ



495
496
497
# File 'docs/00600_Script_RMXP.rb', line 495

def shop_goods
  @shop_goods
end

#temp_team

Returns the value of attribute temp_team.



543
544
545
# File 'docs/00600_Script_RMXP.rb', line 543

def temp_team
  @temp_team
end

#tileset_nameString

Tableau contenant une équipe temporaire Name of the tileset to load instead of the normal one

Returns:



547
548
549
# File 'docs/00600_Script_RMXP.rb', line 547

def tileset_name
  @tileset_name
end

#tileset_temp

Variable used to store the tileset name



549
550
551
# File 'docs/00600_Script_RMXP.rb', line 549

def tileset_temp
  @tileset_temp
end

#to_title

ゲームオーバーフラグ



527
528
529
# File 'docs/00600_Script_RMXP.rb', line 527

def to_title
  @to_title
end

#trainer_battle

Returns the value of attribute trainer_battle.



542
543
544
# File 'docs/00600_Script_RMXP.rb', line 542

def trainer_battle
  @trainer_battle
end

#transition_name

トランジション処理中フラグ



523
524
525
# File 'docs/00600_Script_RMXP.rb', line 523

def transition_name
  @transition_name
end

#transition_processing

プレイヤー移動先 向き



521
522
523
# File 'docs/00600_Script_RMXP.rb', line 521

def transition_processing
  @transition_processing
end

#vs_actors

Returns the value of attribute vs_actors.



539
540
541
# File 'docs/00600_Script_RMXP.rb', line 539

def vs_actors
  @vs_actors
end

#vs_enemies

Returns the value of attribute vs_enemies.



540
541
542
# File 'docs/00600_Script_RMXP.rb', line 540

def vs_enemies
  @vs_enemies
end

#vs_type

Returns the value of attribute vs_type.



538
539
540
# File 'docs/00600_Script_RMXP.rb', line 538

def vs_type
  @vs_type
end