Browse Source

Script: Ruine der Wächter (progress)

dragonflysots 6 years ago
parent
commit
7a9fee0043

+ 9
- 9
data/overworld/overworld_data.s View File

2013
 
2013
 
2014
 .align 2
2014
 .align 2
2015
 ow_data_npcs_0197:
2015
 ow_data_npcs_0197:
2016
-.hword 0xFFFF, 0xC0B0, 0x1102, 0x80, 0x10, 0x10, 0x0, 0x0
2017
-.word 0x83A36F0, 0x83A3748, 0x83A3314, ow_frames_npcs_0197, 0x8231CFC
2016
+.hword 0xFFFF, 0xC0B0, 0x1102, 0x200, 0x20, 0x20, 0x0, 0x0
2017
+.word 0x83A3718, 0x83A37F0, 0x83A3368, ow_frames_npcs_0197 , 0x8231CFC
2018
 
2018
 
2019
 .align 2
2019
 .align 2
2020
 ow_data_npcs_0198:
2020
 ow_data_npcs_0198:
2021
-.hword 0xFFFF, 0xC0B1, 0x1102, 0x80, 0x10, 0x10, 0x0, 0x0
2022
-.word 0x83A36F0, 0x83A3748, 0x83A3314, ow_frames_npcs_0198, 0x8231CFC
2021
+.hword 0xFFFF, 0xC0B1, 0x1102, 0x200, 0x20, 0x20, 0x0, 0x0
2022
+.word 0x83A3718, 0x83A37F0, 0x83A3368, ow_frames_npcs_0198 , 0x8231CFC
2023
 
2023
 
2024
 .align 2
2024
 .align 2
2025
 ow_data_npcs_0199:
2025
 ow_data_npcs_0199:
2026
-.hword 0xFFFF, 0xC0B2, 0x1102, 0x80, 0x10, 0x10, 0x0, 0x0
2027
-.word 0x83A36F0, 0x83A3748, 0x83A3314, ow_frames_npcs_0199, 0x8231CFC
2026
+.hword 0xFFFF, 0xC0B2, 0x1102, 0x200, 0x20, 0x20, 0x0, 0x0
2027
+.word 0x83A3718, 0x83A37F0, 0x83A3368, ow_frames_npcs_0199 , 0x8231CFC
2028
 
2028
 
2029
 .align 2
2029
 .align 2
2030
 ow_data_npcs_0200:
2030
 ow_data_npcs_0200:
2031
-.hword 0xFFFF, 0xC0B3, 0x1102, 0x80, 0x10, 0x10, 0x0, 0x0
2032
-.word 0x83A36F0, 0x83A3748, 0x83A3314, ow_frames_npcs_0200, 0x8231CFC
2031
+.hword 0xFFFF, 0xC0B3, 0x1102, 0x200, 0x20, 0x20, 0x0, 0x0
2032
+.word 0x83A3718, 0x83A37F0, 0x83A3368, ow_frames_npcs_0200 , 0x8231CFC
2033
 
2033
 
2034
 .align 2
2034
 .align 2
2035
 ow_data_npcs_0201:
2035
 ow_data_npcs_0201:
4999
 .align 2
4999
 .align 2
5000
 ow_data_objekt_0026:
5000
 ow_data_objekt_0026:
5001
 .hword 0xFFFF, 0xC31A, 0x1102, 0x80, 0x10, 0x10, 0x0, 0x0
5001
 .hword 0xFFFF, 0xC31A, 0x1102, 0x80, 0x10, 0x10, 0x0, 0x0
5002
-.word 0x83A36F0, 0x83A3748, 0x83A3314, ow_frames_objekt_0026, 0x8231CFC
5002
+.word 0x83A36F0, 0x83A3748, 0x83A3368, ow_frames_objekt_0026, 0x8231CFC
5003
 
5003
 
5004
 .align 2
5004
 .align 2
5005
 ow_data_objekt_0027:
5005
 ow_data_objekt_0027:

+ 129
- 9
data/overworld/overworld_frames.s View File

7007
 
7007
 
7008
 .align 2
7008
 .align 2
7009
 ow_frames_npcs_0197:
7009
 ow_frames_npcs_0197:
7010
-.word ow_00000Tiles+(0*0x80)
7011
-.hword 0x80
7010
+.word ow_npcs_0197Tiles+(0*0x200)
7011
+.hword 0x200
7012
+.hword 0x0
7013
+.word ow_npcs_0197Tiles+(1*0x200)
7014
+.hword 0x200
7015
+.hword 0x0
7016
+.word ow_npcs_0197Tiles+(2*0x200)
7017
+.hword 0x200
7018
+.hword 0x0
7019
+.word ow_npcs_0197Tiles+(1*0x200)
7020
+.hword 0x200
7021
+.hword 0x0
7022
+.word ow_npcs_0197Tiles+(1*0x200)
7023
+.hword 0x200
7024
+.hword 0x0
7025
+.word ow_npcs_0197Tiles+(2*0x200)
7026
+.hword 0x200
7027
+.hword 0x0
7028
+.word ow_npcs_0197Tiles+(2*0x200)
7029
+.hword 0x200
7030
+.hword 0x0
7031
+.word ow_npcs_0197Tiles+(3*0x200)
7032
+.hword 0x200
7033
+.hword 0x0
7034
+.word ow_npcs_0197Tiles+(3*0x200)
7035
+.hword 0x200
7012
 .hword 0x0
7036
 .hword 0x0
7013
 
7037
 
7014
 .align 2
7038
 .align 2
7015
 ow_frames_npcs_0198:
7039
 ow_frames_npcs_0198:
7016
-.word ow_00000Tiles+(0*0x80)
7017
-.hword 0x80
7040
+.word ow_npcs_0198Tiles+(0*0x200)
7041
+.hword 0x200
7042
+.hword 0x0
7043
+.word ow_npcs_0198Tiles+(1*0x200)
7044
+.hword 0x200
7045
+.hword 0x0
7046
+.word ow_npcs_0198Tiles+(2*0x200)
7047
+.hword 0x200
7048
+.hword 0x0
7049
+.word ow_npcs_0198Tiles+(1*0x200)
7050
+.hword 0x200
7051
+.hword 0x0
7052
+.word ow_npcs_0198Tiles+(1*0x200)
7053
+.hword 0x200
7054
+.hword 0x0
7055
+.word ow_npcs_0198Tiles+(2*0x200)
7056
+.hword 0x200
7057
+.hword 0x0
7058
+.word ow_npcs_0198Tiles+(2*0x200)
7059
+.hword 0x200
7060
+.hword 0x0
7061
+.word ow_npcs_0198Tiles+(3*0x200)
7062
+.hword 0x200
7063
+.hword 0x0
7064
+.word ow_npcs_0198Tiles+(3*0x200)
7065
+.hword 0x200
7018
 .hword 0x0
7066
 .hword 0x0
7019
 
7067
 
7020
 .align 2
7068
 .align 2
7021
 ow_frames_npcs_0199:
7069
 ow_frames_npcs_0199:
7022
-.word ow_00000Tiles+(0*0x80)
7023
-.hword 0x80
7070
+.word ow_npcs_0199Tiles+(0*0x200)
7071
+.hword 0x200
7072
+.hword 0x0
7073
+.word ow_npcs_0199Tiles+(1*0x200)
7074
+.hword 0x200
7075
+.hword 0x0
7076
+.word ow_npcs_0199Tiles+(2*0x200)
7077
+.hword 0x200
7078
+.hword 0x0
7079
+.word ow_npcs_0199Tiles+(1*0x200)
7080
+.hword 0x200
7081
+.hword 0x0
7082
+.word ow_npcs_0199Tiles+(1*0x200)
7083
+.hword 0x200
7084
+.hword 0x0
7085
+.word ow_npcs_0199Tiles+(2*0x200)
7086
+.hword 0x200
7087
+.hword 0x0
7088
+.word ow_npcs_0199Tiles+(2*0x200)
7089
+.hword 0x200
7090
+.hword 0x0
7091
+.word ow_npcs_0199Tiles+(3*0x200)
7092
+.hword 0x200
7093
+.hword 0x0
7094
+.word ow_npcs_0199Tiles+(3*0x200)
7095
+.hword 0x200
7024
 .hword 0x0
7096
 .hword 0x0
7025
 
7097
 
7026
 .align 2
7098
 .align 2
7027
 ow_frames_npcs_0200:
7099
 ow_frames_npcs_0200:
7028
-.word ow_00000Tiles+(0*0x80)
7029
-.hword 0x80
7100
+.word ow_npcs_0200Tiles+(0*0x200)
7101
+.hword 0x200
7102
+.hword 0x0
7103
+.word ow_npcs_0200Tiles+(1*0x200)
7104
+.hword 0x200
7105
+.hword 0x0
7106
+.word ow_npcs_0200Tiles+(2*0x200)
7107
+.hword 0x200
7108
+.hword 0x0
7109
+.word ow_npcs_0200Tiles+(1*0x200)
7110
+.hword 0x200
7111
+.hword 0x0
7112
+.word ow_npcs_0200Tiles+(1*0x200)
7113
+.hword 0x200
7114
+.hword 0x0
7115
+.word ow_npcs_0200Tiles+(2*0x200)
7116
+.hword 0x200
7117
+.hword 0x0
7118
+.word ow_npcs_0200Tiles+(2*0x200)
7119
+.hword 0x200
7120
+.hword 0x0
7121
+.word ow_npcs_0200Tiles+(3*0x200)
7122
+.hword 0x200
7123
+.hword 0x0
7124
+.word ow_npcs_0200Tiles+(3*0x200)
7125
+.hword 0x200
7030
 .hword 0x0
7126
 .hword 0x0
7031
 
7127
 
7032
 .align 2
7128
 .align 2
16553
 
16649
 
16554
 .align 2
16650
 .align 2
16555
 ow_frames_objekt_0026:
16651
 ow_frames_objekt_0026:
16556
-.word ow_00000Tiles+(0*0x80)
16652
+.word ow_objekt_0026Tiles+(0*0x80)
16653
+.hword 0x80
16654
+.hword 0x0
16655
+.word ow_objekt_0026Tiles+(0*0x80)
16656
+.hword 0x80
16657
+.hword 0x0
16658
+.word ow_objekt_0026Tiles+(0*0x80)
16659
+.hword 0x80
16660
+.hword 0x0
16661
+.word ow_objekt_0026Tiles+(1*0x80)
16662
+.hword 0x80
16663
+.hword 0x0
16664
+.word ow_objekt_0026Tiles+(2*0x80)
16665
+.hword 0x80
16666
+.hword 0x0
16667
+.word ow_objekt_0026Tiles+(1*0x80)
16668
+.hword 0x80
16669
+.hword 0x0
16670
+.word ow_objekt_0026Tiles+(2*0x80)
16671
+.hword 0x80
16672
+.hword 0x0
16673
+.word ow_objekt_0026Tiles+(1*0x80)
16674
+.hword 0x80
16675
+.hword 0x0
16676
+.word ow_objekt_0026Tiles+(2*0x80)
16557
 .hword 0x80
16677
 .hword 0x80
16558
 .hword 0x0
16678
 .hword 0x0
16559
 
16679
 

+ 5
- 5
data/overworld/overworld_pal_table.s View File

201
 .word ow_npcs_0194Pal, 0xC0AD
201
 .word ow_npcs_0194Pal, 0xC0AD
202
 .word ow_npcs_0195Pal, 0xC0AE
202
 .word ow_npcs_0195Pal, 0xC0AE
203
 .word ow_npcs_0196Pal, 0xC0AF
203
 .word ow_npcs_0196Pal, 0xC0AF
204
-.word ow_00000Pal, 0xC0B0
205
-.word ow_00000Pal, 0xC0B1
206
-.word ow_00000Pal, 0xC0B2
207
-.word ow_00000Pal, 0xC0B3
204
+.word ow_npcs_0197Pal, 0xC0B0
205
+.word ow_npcs_0198Pal, 0xC0B1
206
+.word ow_npcs_0199Pal, 0xC0B2
207
+.word ow_npcs_0200Pal, 0xC0B3
208
 .word ow_00000Pal, 0xC0B4
208
 .word ow_00000Pal, 0xC0B4
209
 .word ow_00000Pal, 0xC0B5
209
 .word ow_00000Pal, 0xC0B5
210
 .word ow_00000Pal, 0xC0B6
210
 .word ow_00000Pal, 0xC0B6
798
 .word ow_objekt_0023Pal, 0xC317
798
 .word ow_objekt_0023Pal, 0xC317
799
 .word ow_objekt_0024Pal, 0xC318
799
 .word ow_objekt_0024Pal, 0xC318
800
 .word ow_objekt_0025Pal, 0xC319
800
 .word ow_objekt_0025Pal, 0xC319
801
-.word ow_00000Pal, 0xC31A
801
+.word ow_objekt_0026Pal, 0xC31A
802
 .word ow_00000Pal, 0xC31B
802
 .word ow_00000Pal, 0xC31B
803
 .word ow_00000Pal, 0xC31C
803
 .word ow_00000Pal, 0xC31C
804
 .word ow_00000Pal, 0xC31D
804
 .word ow_00000Pal, 0xC31D

+ 1
- 1
sots-private

1
-Subproject commit 3bce959367f662ec0f3fbfd9e3a5fc0672d6d036
1
+Subproject commit c7b6ee222bc766949b06f12d87c05baa0fab2d10

+ 4
- 0
src/include/constants/pymap/main_story_variables.h View File

23
 #define VALUE_FARBRAETSEL_EINGANG_RDW_FERTIG 0x15
23
 #define VALUE_FARBRAETSEL_EINGANG_RDW_FERTIG 0x15
24
 #define VALUE_MAPSCRIPT_RDW_INNEN_EINGANG 0x16
24
 #define VALUE_MAPSCRIPT_RDW_INNEN_EINGANG 0x16
25
 #define VALUE_TIEFESINNERE_RDW_MAPSCRIPT 0x17
25
 #define VALUE_TIEFESINNERE_RDW_MAPSCRIPT 0x17
26
+#define VALUE_RDW_INNERES_STEINTAFELN 0x18
27
+#define VALUE_RDW_INNERES_STEINTAFELN2 0x19
28
+#define VALUE_HEILIGTUM_RDW_MAPSCRIPT 0x1a
29
+#define VALUE_HEILIGTUM_RDW_BESIEGT 0x1b

+ 4
- 0
src/include/constants/pymap/main_story_variables.s View File

23
 .equ VALUE_FARBRAETSEL_EINGANG_RDW_FERTIG, 0x15
23
 .equ VALUE_FARBRAETSEL_EINGANG_RDW_FERTIG, 0x15
24
 .equ VALUE_MAPSCRIPT_RDW_INNEN_EINGANG, 0x16
24
 .equ VALUE_MAPSCRIPT_RDW_INNEN_EINGANG, 0x16
25
 .equ VALUE_TIEFESINNERE_RDW_MAPSCRIPT, 0x17
25
 .equ VALUE_TIEFESINNERE_RDW_MAPSCRIPT, 0x17
26
+.equ VALUE_RDW_INNERES_STEINTAFELN, 0x18
27
+.equ VALUE_RDW_INNERES_STEINTAFELN2, 0x19
28
+.equ VALUE_HEILIGTUM_RDW_MAPSCRIPT, 0x1a
29
+.equ VALUE_HEILIGTUM_RDW_BESIEGT, 0x1b

+ 6
- 0
src/include/constants/pymap/npc_sprite_table1.h View File

195
 #define NPC_PROFESSOR2_M 0xc2
195
 #define NPC_PROFESSOR2_M 0xc2
196
 #define NPC_TUNDRA_SPION 0xc3
196
 #define NPC_TUNDRA_SPION 0xc3
197
 #define NPC_PROFESSOR1_W 0xc4
197
 #define NPC_PROFESSOR1_W 0xc4
198
+#define NPC_NOAH_OHNMAECHTIG 0xc5
199
+#define NPC_EMMA_OHNMAECHTIG 0xc6
200
+#define NPC_ACHIM_OHNMAECHTIG 0xc7
201
+#define NPC_IDAN_OHNMAECHTIG 0xc8
198
 #define NPC_RIVALE 0xee
202
 #define NPC_RIVALE 0xee
203
+#define NPC_PLAYER_OHNMAECHTIG 0xef
204
+#define NPC_RIVALE_OHNMAECHTIG 0xf0

+ 6
- 0
src/include/constants/pymap/npc_sprite_table1.s View File

195
 .equ NPC_PROFESSOR2_M, 0xc2
195
 .equ NPC_PROFESSOR2_M, 0xc2
196
 .equ NPC_TUNDRA_SPION, 0xc3
196
 .equ NPC_TUNDRA_SPION, 0xc3
197
 .equ NPC_PROFESSOR1_W, 0xc4
197
 .equ NPC_PROFESSOR1_W, 0xc4
198
+.equ NPC_NOAH_OHNMAECHTIG, 0xc5
199
+.equ NPC_EMMA_OHNMAECHTIG, 0xc6
200
+.equ NPC_ACHIM_OHNMAECHTIG, 0xc7
201
+.equ NPC_IDAN_OHNMAECHTIG, 0xc8
198
 .equ NPC_RIVALE, 0xee
202
 .equ NPC_RIVALE, 0xee
203
+.equ NPC_PLAYER_OHNMAECHTIG, 0xef
204
+.equ NPC_RIVALE_OHNMAECHTIG, 0xf0

+ 1
- 0
src/include/constants/pymap/npc_sprite_table4.h View File

24
 #define NPC_GROSSER_ZERSCHNEIDERBAUM 0x17
24
 #define NPC_GROSSER_ZERSCHNEIDERBAUM 0x17
25
 #define NPC_ZERSCHNEIDER_ANIMATION 0x18
25
 #define NPC_ZERSCHNEIDER_ANIMATION 0x18
26
 #define NPC_HEILUNGSSTATUE 0x19
26
 #define NPC_HEILUNGSSTATUE 0x19
27
+#define NPC_SEELENGEFAESSE 0x1a

+ 1
- 0
src/include/constants/pymap/npc_sprite_table4.s View File

24
 .equ NPC_GROSSER_ZERSCHNEIDERBAUM, 0x17
24
 .equ NPC_GROSSER_ZERSCHNEIDERBAUM, 0x17
25
 .equ NPC_ZERSCHNEIDER_ANIMATION, 0x18
25
 .equ NPC_ZERSCHNEIDER_ANIMATION, 0x18
26
 .equ NPC_HEILUNGSSTATUE, 0x19
26
 .equ NPC_HEILUNGSSTATUE, 0x19
27
+.equ NPC_SEELENGEFAESSE, 0x1a