Skip to content

Commit 857cbf5

Browse files
committed
Add behavior modification example for rotating signs
1 parent 19d20c8 commit 857cbf5

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

examples/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ http://www.smwcentral.net/?p=viewthread&t=58544
3838
replace water skybox with night sky from Lylat System.
3939

4040
1. copy skybox/0x00000.skybox.png to gen/textures/water\_skybox/
41+
42+
## Behavior
43+
Source patch for modifying the sign posts behavior to rotate about the Y-axis
44+
45+
1. patch -p0 < sm64.rotating\_sign.patch
46+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- gen/behavior_data.orig.s 2015-05-31 10:18:13.894941354 +0200
2+
+++ gen/behavior_data.s 2015-05-31 10:18:08.784941132 +0200
3+
@@ -2819,7 +2819,7 @@
4+
.word 0x08000000
5+
.word 0x10050000
6+
.word 0x0C000000, ProcessCollision
7+
-.word 0x102B0000
8+
+.word 0x0F130100
9+
.word 0x09000000
10+
beh_sign_on_wall: # 3324
11+
.word 0x00090000

0 commit comments

Comments
 (0)