-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a16365
commit 36c6d7a
Showing
6 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,7 @@ | |
## キー入力の加工 | ||
|
||
キー入力の結果が必要な時に呼び出され、上記の3種類の変数に加工されたキー入力の状態が格納される | ||
|
||
## 関連 | ||
|
||
- [simulated joypad](./simulated_joypad.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# pewter guy | ||
|
||
ニビシティの特殊なNPCのこと 2種類いる | ||
|
||
`engine/overworld/pewter_guys.md`で処理が定義されている | ||
|
||
## museum guy | ||
|
||
TODO | ||
|
||
## gym guy | ||
|
||
ニビシティのジムバッジを持っていないときにニビシティのジムまでプレイヤーを連行するNPC | ||
|
||
## 関連 | ||
|
||
- [simulated joypad](./simulated_joypad.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# simulated joypad | ||
|
||
ポケモン赤にシミュレートされたキー入力のこと | ||
つまりゲームによって勝手にキー入力をされている状態 | ||
|
||
pewter guyなどNPCの強制連行イベントなどでこの状態になる | ||
|
||
## description | ||
|
||
- wSimulatedJoypadStatesEnd | ||
- wSimulatedJoypadStatesIndex | ||
|
||
の2種類のアドレスの値が`simulated joypad`と関連している | ||
|
||
プレイヤーの`simulated joypad`によるキー入力は`wSimulatedJoypadStatesEnd + [wSimulatedJoypadStatesIndex]`の値となる | ||
|
||
simulated joypadの1入力のたびに`wSimulatedJoypadStatesIndex`の値がデクリメントされ、`wSimulatedJoypadStatesEnd + [wSimulatedJoypadStatesIndex]`の値が`wSimulatedJoypadStatesEnd`と等しいとき、つまり`[wSimulatedJoypadStatesIndex]`が0のときに`simulated joypad`状態は終了する | ||
|
||
## 関連 | ||
|
||
- [pewter guy](./pewter_guys.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters