summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes26
-rw-r--r--data/events/happiness_probabilities.asm12
2 files changed, 38 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..56c86288
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,26 @@
+# Auto detect text files and perform LF normalization
+* text eol=lf
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.asm text
+*.pal text
+
+# Non-source files
+*.sh text
+*.py text
+*.link text
+*.c text
+*.h text
+*.awk text
+*.md text
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.lz binary
+*.2bpp binary
+*.1bpp binary
+*.blk binary
+*.bin binary
+*.tilemap binary
+*.rle binary \ No newline at end of file
diff --git a/data/events/happiness_probabilities.asm b/data/events/happiness_probabilities.asm
new file mode 100644
index 00000000..798c56fa
--- /dev/null
+++ b/data/events/happiness_probabilities.asm
@@ -0,0 +1,12 @@
+HappinessData_YoungerHaircutBrother:
+ db $4c, 2, HAPPINESS_YOUNGCUT1 ; 30% chance
+ db $80, 3, HAPPINESS_YOUNGCUT2 ; 20% chance
+ db $ff, 4, HAPPINESS_YOUNGCUT3 ; 50% chance
+
+HappinessData_OlderHaircutBrother:
+ db $9a, 2, HAPPINESS_OLDERCUT1 ; 60% chance
+ db $4c, 3, HAPPINESS_OLDERCUT2 ; 10% chance
+ db $ff, 4, HAPPINESS_OLDERCUT3 ; 30% chance
+
+HappinessData_DaisysGrooming:
+ db $ff, 2, HAPPINESS_GROOMING ; 99.6% chance \ No newline at end of file