Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ff3:ff3us:patches:madsiur:opened_eyes_terra [2017/04/09 06:42] madsiur created |
ff3:ff3us:patches:madsiur:opened_eyes_terra [2019/02/12 12:48] (current) |
||
---|---|---|---|
Line 36: | Line 36: | ||
|$CAC512- $CAC515 | |$CAC512- $CAC515 | ||
|$D1F9E6- $D1F9F7 | |$D1F9E6- $D1F9F7 | ||
+ | |||
+ | ==== Code ==== | ||
+ | |||
+ | < | ||
+ | ; map $E2 entrance event | ||
+ | CA/F004: B2 D9 F9 07 ; Call subroutine $D1F9D9 | ||
+ | CA/F008: 60 0E 08 ; Change background layer $0E to palette $08 | ||
+ | CA/F00B: FE ; Return | ||
+ | |||
+ | ; map $E8 entrance event | ||
+ | CA/F00C: B2 D0 F9 07 ; Call subroutine $D1F9D0 | ||
+ | CA/F010: FE ; Return | ||
+ | |||
+ | ; Free space code | ||
+ | D1/F9D0: F6 81 10 FF ; Change volume of currently playing song to $FF, | ||
+ | ; transition time 16 | ||
+ | D1/F9D4: B2 E1 C8 00 ; Call subroutine $CAC8E1 | ||
+ | D1/F9D8: FE ; Return | ||
+ | |||
+ | D1/F9D9: C1 ; If we have not spoke to Ramuhnad or Terra NPC | ||
+ | ; is hidden, return (D1/F9E5), else continue | ||
+ | D1/F9E1: 10 82 13 FF ; Set NPC $10 pose to eyes closed | ||
+ | D1/F9E5: FE ; Return | ||
+ | |||
+ | ALT Patch extra code | ||
+ | -------------------- | ||
+ | ; Zozo event (after two cranes) | ||
+ | CA/C4C0: B2 EF F9 07 ; Call subroutine $D1F9EF | ||
+ | |||
+ | CA/C512: B2 E6 F9 07 ; Call subroutine $D1F9E6 | ||
+ | |||
+ | ; Free space code | ||
+ | D1/F9E6: 10 82 01 FF ; Set NPC $10 pose to eyes opened | ||
+ | D1/F9EA: 01 82 23 FF ; Character $01 turn left | ||
+ | D1/F9EE: FE ; Return | ||
+ | |||
+ | D1/F9EF: 10 02 13 FF ; Set NPC $10 pose to eyes closed | ||
+ | D1/F9F3: DD 1A ; Clear event bit $61A | ||
+ | D1/F9F5: DD 19 ; Clear event bit $619 | ||
+ | D1/F9F7: FE ; Return | ||
+ | </ | ||
==== Links ==== | ==== Links ==== | ||
Line 44: | Line 85: | ||
==== Screenshots ==== | ==== Screenshots ==== | ||
- | {{gallery> | + | {{gallery> |
[[ff3: | [[ff3: |